Git is used and an error is reported. Author identity unknown solution

Git needs to set and when it is first used, otherwise the error author identity unknown will be reported when git command is used. The specific setting steps are as follows:

git config --global 'your name'
git config --global 'your email'

After setting, you can use the following commands to view the setting results;

git config --list

Indicates that the setting is successful; Use at this time

git commit -m 'description'

It’ll be all right when you’re ready.

Similar Posts: