Skip to content

Instantly share code, notes, and snippets.

@Nimdis
Created February 16, 2014 10:55
Show Gist options
  • Save Nimdis/9032462 to your computer and use it in GitHub Desktop.
Save Nimdis/9032462 to your computer and use it in GitHub Desktop.
undo last git push
git push -f origin HEAD^:master
@Koten-Kostiantyn
Copy link

it does undo commit, not push!

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