Answers for "how to revert commit in git command"

33

revert local commit git bash

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

revert to commit git

# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
Posted by: Guest on April-10-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language