Skip to content

Instantly share code, notes, and snippets.

@liuliangsir
Forked from yano3/gist:1378948
Created November 8, 2021 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liuliangsir/dfa4e75bd0f95ae4e77ff2f88cfd0631 to your computer and use it in GitHub Desktop.
Save liuliangsir/dfa4e75bd0f95ae4e77ff2f88cfd0631 to your computer and use it in GitHub Desktop.
git commit --amend --reset-author
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment