Skip to content

Instantly share code, notes, and snippets.

@jalex79
Created March 15, 2012 13:39
Show Gist options
  • Save jalex79/2044248 to your computer and use it in GitHub Desktop.
Save jalex79/2044248 to your computer and use it in GitHub Desktop.
Reuse the current commit message when amend
#This alias adds a git amend command that will reuse the current commit message when it amend it.
> git config --global alias.amend 'commit --amend -C HEAD'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment