Answers for "git reset commit after push to github"

3

github undo last pushed commit

git reset <previous label or sha1>
git commit -am "blabla"
git push -f <remote-name> <branch-name>
Posted by: Guest on January-12-2020
1

undo git commit after push

git reset <hash> # Run this then merge, commit, and push
Posted by: Guest on February-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language