Answers for "how to reset all changes to previous commit in git"

Go
2

reset last commit without losing changes

git reset HEAD~1 --soft
Posted by: Guest on June-11-2020
-2

how to abandon changes and go last commit

#ignore all changes, and back to last commit 

git add .
git stash
Posted by: Guest on November-11-2020

Code answers related to "how to reset all changes to previous commit in git"

Browse Popular Code Answers by Language