Explore my works and
side projects  here

Research, Design & Development.



“Git remove last commit”

Pretty annoying this isn’t built into Github desktop but you can do this with apps like Tower.

Password authentication has been removed so you will need to setup GitHub personal access token.

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.


git reset --merge HEAD~1 
git push origin main --force   

* PS – you can use it multiple times (git reset --merge HEAD~1) to remove multiple commits. ;-)

more here on Stackoverflow.