Skip to content

Instantly share code, notes, and snippets.

@ljungmark
Last active April 9, 2018 06:34
Show Gist options
  • Save ljungmark/7e9fcbcecdb4442d98cb7e85628e212d to your computer and use it in GitHub Desktop.
Save ljungmark/7e9fcbcecdb4442d98cb7e85628e212d to your computer and use it in GitHub Desktop.
ops.cmd
# Unpublish last commit pushed to Github
# (where dd61ab32 is target commit)
git push origin +dd61ab32^:master
# Reset changes locally:
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment