Answers for "how to revert the local commit in git"

36

revert local commit git bash

git reset --soft HEAD~1
Posted by: Guest on March-30-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