Answers for "delete commit from github"

0

remove commit from github

# First remove it form git
git reset --soft HEAD~1

# Second remove it form github
git push -f origin HEAD^:master
Posted by: Guest on August-18-2021
0

delete commit from github

git reset --hard 71c27777543ccfcb0376dcdd8f6777df055ef479
Posted by: Guest on August-10-2021
-1

remove commit from github

# To to remove already pushed commit!
git push -f origin HEAD^:master
Posted by: Guest on July-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language