Answers for "how to discard changes and load previous commit git"

Go
1

how discharge changes e recover last commit git

git reset HEAD --hard
Posted by: Guest on May-31-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

Browse Popular Code Answers by Language