Answers for "git hard reset to head"

6

git soft reset head

git reset --soft HEAD^
//resets head by 1
Posted by: Guest on August-13-2020
7

git reset

git reset --soft HEAD~3
git commit
git push —force-with-lease origin
Posted by: Guest on June-23-2020

Browse Popular Code Answers by Language