Answers for "how to recover last commit git"

-1

remove last commit git

git reset --hard HEAD^
git push origin -f
Posted by: Guest on October-01-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