Answers for "git reset changes since last commit"

Go
2

remove the last commit git 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

Browse Popular Code Answers by Language