Answers for "how to undo git commit in local master"

8

undo local commit

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

how to undo local commit git

If your commits are only LOCAL, 
you can git reset --hard origin/<branch_name> 
to move back to where the origin is.
Posted by: Guest on October-31-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language