GitHub desktop submission errors and Solutions

1. Error code:

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

Run

  git config --global user.email "[email protected]"
  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 'Administrator@w310-002.(none)')'

1.2 solution:

in the root directory of the project has a hidden folder -. Git, there is a config file, use notepad or something to open it, at the end of the file add the following code:
XXX change your name and email address, and then save the file, and then go to submit!

[user]
name = xxx
email = xxx


2.1 error code:

github:Commit failed - exit code 1 received

2.2 why

since the project was cloned on github, it is now committed to my repository, but the project still contains information from someone else’s github repository in the.git folder.

2.3 solution

displays the hidden file, and then deletes the hidden folder

win10 operation: find – > Check “hidden items”

Read More: