reset git commit in local branch

PHOTO EMBED

Thu Oct 21 2021 05:12:26 GMT+0000 (Coordinated Universal Time)

Saved by @firdauslazim #java #git

$ git reset --hard HEAD~1

HEAD is now at 90f8bb1 Second commit
content_copyCOPY

https://devconnected.com/how-to-undo-last-git-commit/