Skip to content

Instantly share code, notes, and snippets.

@nombrekeff
Created January 23, 2020 09:47
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 nombrekeff/1b44a2ecf3b7ffaa6f22beadf014f981 to your computer and use it in GitHub Desktop.
Save nombrekeff/1b44a2ecf3b7ffaa6f22beadf014f981 to your computer and use it in GitHub Desktop.
[Git reverse last commit]
git checkout Branch1
git reset --hard HEAD~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment