Entfernen Sie den Lit von Github
# First remove it form git
git reset --soft HEAD~1
# Second remove it form github
git push -f origin HEAD^:master
Depressed Dunlin
# First remove it form git
git reset --soft HEAD~1
# Second remove it form github
git push -f origin HEAD^:master
git reset --hard 71c27777543ccfcb0376dcdd8f6777df055ef479
git reset -- MAIN^
git reset -- MAIN^2 (reset last 2 commits)
(increase number for number of commits you want
to delete from your local repo, before youve pushed)