Skip to content

Instantly share code, notes, and snippets.

@chrisdiana
Last active November 2, 2017 16:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdiana/f0777eb35a5adece8422 to your computer and use it in GitHub Desktop.
Save chrisdiana/f0777eb35a5adece8422 to your computer and use it in GitHub Desktop.
Reset GIT to commit force push
# Local reset:
git reset --hard fj5789sufj
# Remote reset:
git push -f origin fj5789sufj:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment