Answers for "reset last commit git command"

33

git cancel last commit

git reset --soft HEAD~1
Posted by: Guest on March-30-2020
0

undo last commit

$ git reset --hard HEAD~1
Posted by: Guest on July-12-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language