Answers for "reverse a local commit"

0

revert local commit

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

how to undo a local commit

git reset HEAD~1
Posted by: Guest on August-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language