Answers for "how to discard all uncommited changes in git"

11

git discard all changes

git clean -df
git checkout -- .
Posted by: Guest on May-23-2020
4

git remove all uncommitted changes

git add . 
git stash 
git stash drop
git clean -fdx
Posted by: Guest on November-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language