Answers for "revert local commit"

7

undo local commit

$ git reset --soft HEAD~1
Posted by: Guest on April-09-2020
0

revert local commit

$ git reset --hard HEAD~1
Posted by: Guest on March-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language