Skip to content

Instantly share code, notes, and snippets.

@searls
Created August 29, 2013 11:15
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save searls/6376808 to your computer and use it in GitHub Desktop.
Save searls/6376808 to your computer and use it in GitHub Desktop.
a handy way to unpull a pull that bit off more than you could chew.
#!/bin/bash
git reset --hard HEAD@{1}
@searls
Copy link
Author

searls commented May 10, 2020

LOL, I completely forgot I made this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment