Skip to content

Instantly share code, notes, and snippets.

@BukhariH
Created September 28, 2017 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BukhariH/c5c45bfe0940d476c11251e57db9d557 to your computer and use it in GitHub Desktop.
Save BukhariH/c5c45bfe0940d476c11251e57db9d557 to your computer and use it in GitHub Desktop.
Merge Last Two Commits
git reset --soft "HEAD^"
git commit --amend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment