Skip to content

Instantly share code, notes, and snippets.

@bluebycode
Created May 3, 2016 16:47
Show Gist options
  • Select an option

  • Save bluebycode/819244fbafc4dc0b2c3494fb4fe69364 to your computer and use it in GitHub Desktop.

Select an option

Save bluebycode/819244fbafc4dc0b2c3494fb4fe69364 to your computer and use it in GitHub Desktop.
Git Undo remote commit #git #revert #commit
#commit a739014b596c8feff37426cb8ff22d72aad86bcb
# Author: vrandkode <vrandkode@gmail.com>
# adding base domain trace. last commit
#commit de12d72f1edeb3fca500e3aab2e884a2a48ffd05
# Author: vrandkode <vrandkode@gmail.com>
# working commit
# git push <remote> +<commit-id>^:<branch>
# revert to commit's parent: de12d72f
git push origin +a739014b^:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment