Git needs to set user.name and user.email 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 user.name 'your name' git config --global user.email '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.