Skip to content

Instantly share code, notes, and snippets.

@shammelburg
Created September 22, 2019 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shammelburg/23e402c902eff7238961d0c1da244345 to your computer and use it in GitHub Desktop.
Save shammelburg/23e402c902eff7238961d0c1da244345 to your computer and use it in GitHub Desktop.
remove last commit from GitHub
git reset --soft HEAD^
git push origin [+branchName(master)] --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment