Skip to content

Instantly share code, notes, and snippets.

@rlfrahm
Last active August 29, 2015 14:23
Show Gist options
  • Save rlfrahm/e89a043a06ca33ba16a7 to your computer and use it in GitHub Desktop.
Save rlfrahm/e89a043a06ca33ba16a7 to your computer and use it in GitHub Desktop.
Git remove last remote commit
git reset --hard HEAD^ 

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