Answers for "how to discard changes from a modified file git"

11

how to remove file changes in git

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

git discard changes to one file

git checkout -- file
Posted by: Guest on August-03-2021

Code answers related to "how to discard changes from a modified file git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language