Answers for "checkout committed file from git"

0

git checkout file from commit

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

how to see what files are committed in git

git ls-tree --name-only -r <commit-ish>
Posted by: Guest on October-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language