1
Commit failed - exit code 128 received, with output: '*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'User@DESKTOP-CA2F2PA.(none)')'

Как это исправить? Я ничего не понимаю, вроде бы в настройках GitHub сделал публичный email, перезагружал комп, и не помогало.

1 ответ 1

4

Первое, что вам следует сделать после установки Git - указать ваше имя и адрес электронной почты. Это важно, потому что каждый коммит в Git содержит эту информацию, и она включена в коммиты, передаваемые вами, и не может быть далее изменена:

Для этого в консоли выполите следующие комманды:

git config --global user.name "Vasya Pupkin"
git config --global user.email "vasya.pupkin@email.com"

Первоначальная настройка Git

Commit failed - exit code 128 received, with output: '*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'User@DESKTOP-CA2F2PA.(none)')'

В ошибке прямо это и написано если причитаться =)

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.