When git submits, if you encounter does not match your user account

 

When git submits, if you encounter does not match your user account     



 

In addition to using the following command to reset the account

git config --global user.name "Your Name"
git config --global user.email [email protected]
still need

git commit --amend --reset-author

Otherwise it won't work

 

Of course, if you can configure it in Gerrit, configuring the 'Forge Committer' and 'Forge Author' access permissions can also be solved.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326861120&siteId=291194637