Skip to content

Instantly share code, notes, and snippets.

@yano3
Created November 19, 2011 15:17
Show Gist options
  • Save yano3/1378948 to your computer and use it in GitHub Desktop.
Save yano3/1378948 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
@nafg
Copy link

nafg commented Jul 17, 2020

You can add --no-edit to avoid the editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment