Skip to content

Instantly share code, notes, and snippets.

@c0ldlimit
Last active October 12, 2015 23:57
Show Gist options
  • Save c0ldlimit/4106731 to your computer and use it in GitHub Desktop.
Save c0ldlimit/4106731 to your computer and use it in GitHub Desktop.
Git: Amending a Commit #git #c0ldlimit
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