How to cancel a local GIT commit?
If you want to retain the changed content of the file and
cancel the last commit use:
cancel the last commit use:
- git reset HEAD^ or git reset HEAD~1 (both are same)
- git reset --hard HEAD~1
awesome...
ReplyDelete