git reset --hard HEAD~3 # reset current branch to 3 commits ago
git push origin master --force
Created
June 8, 2017 02:09
-
-
Save vertigra/acd770b703d2e27d71d857e985e01d79 to your computer and use it in GitHub Desktop.
Git hard reset & forse push
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment