Answers for "git reset changes to a single file"

2

git reset change in one file

# undo local changes to specific file
git checkout -- file
Posted by: Guest on August-23-2020
5

git reset one file

git checkout HEAD -- my-file.txt
Posted by: Guest on April-28-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language