Skip to content

Instantly share code, notes, and snippets.

@citizen428
Created July 9, 2018 04:00
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 citizen428/3ec56e7e1f0c9eeaae595df8837c205c to your computer and use it in GitHub Desktop.
Save citizen428/3ec56e7e1f0c9eeaae595df8837c205c to your computer and use it in GitHub Desktop.
git commit --amend # start $EDITOR to edit the message
git commit --amend -m "New message" # set the new message directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment