Skip to content

Instantly share code, notes, and snippets.

@alysivji
Created May 15, 2018 15:33
Show Gist options
  • Save alysivji/9fc8623cd7fec688db7ad2b9f1629fd4 to your computer and use it in GitHub Desktop.
Save alysivji/9fc8623cd7fec688db7ad2b9f1629fd4 to your computer and use it in GitHub Desktop.
# combine last 2 commits into 1
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