Answers for "reset since last commit git"

33

reset last commit

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