Answers for "git how to undo changes to a single file"

2

git discard changes to one file

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

git revert changes in a file

git checkout filename
Posted by: Guest on September-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language