Answers for "undo recent commit github"

33

roll back last commit in git

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

how to recover last commit git

//the below code can recover your last commited files 
git checkout -f
Posted by: Guest on April-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language