Created
March 15, 2012 13:39
-
-
Save jalex79/2044248 to your computer and use it in GitHub Desktop.
Reuse the current commit message when amend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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