Skip to content

Instantly share code, notes, and snippets.

@Ajwah
Created February 23, 2016 16:23
Show Gist options
  • Save Ajwah/c653819c30c6391af493 to your computer and use it in GitHub Desktop.
Save Ajwah/c653819c30c6391af493 to your computer and use it in GitHub Desktop.
# edit commit msg
git commit --amend
# delete accidental commits made to master
git reset d3adfb9dd33d74815f445e6ace76501ff5a4208d
git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment