Answers for "how to restore last commit to local in git"

41

roll back last commit in git

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

reset git from last commit

$ git clean -fd
Posted by: Guest on February-07-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language