Answers for "git checkout file from commit"

3

How can I reset or revert a file to a specific revision?

git reset <commit hash> <filename>
Posted by: Guest on April-12-2020
0

git checkout file from commit

git checkout c5f567 -- file1/to/restore file2/to/restore
Posted by: Guest on October-27-2021

Browse Popular Code Answers by Language