Last active
October 12, 2015 23:57
-
-
Save c0ldlimit/4106731 to your computer and use it in GitHub Desktop.
Git: Amending a Commit #git #c0ldlimit
This file contains 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 commit --ammend | |
# what this does is add the content of the staging area to the latest commit | |
# you'll then be asked for a commit message. This commit and its message will override the previous commit - but CREATES A NEW HEASH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment