Answers for "remove all changes from last commit in git"

Go
2

git remove all uncommitted changes

git add . 
git stash 
git stash drop
git clean -fdx
Posted by: Guest on November-11-2021
-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