Usuń ostatnie zatwierdzenie z pilota
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
Excited Echidna
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
git reset HEAD^ --hard
git push <<remote>> -f
1
$git rebase -i HEAD~2
git push origin +HEAD^:<name of your branch, most likely 'master'>