How can I remove the latest commit on GitHub? - Stack Overflow

PHOTO EMBED

Tue Jun 15 2021 13:48:37 GMT+0000 (UTC)

Saved by @hbroph123

git push -f origin HEAD^:master
content_copyCOPY

https://stackoverflow.com/questions/448919/how-can-i-remove-a-commit-on-github