Git - remove newest commits

Moki Lv6

Remove 1 newest commit and force push to server.

1
2
git reset --hard HEAD~1
git push -f
On this page
Git - remove newest commits