Answers for "how to discard changes to a file in git"

5

how to remove file changes in git

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

git discard changes to one file

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language