Created
March 7, 2017 23:40
-
-
Save rberrelleza/80a6ba01261b29f20a4bd68fc2ba7d55 to your computer and use it in GitHub Desktop.
Append to last commit with the same message
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
git --global config.ap '!message=$(git log -1 --pretty=%B) && git commit -m "$message" --amend' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment