Answers for "get file from commit git"

0

git checkout file from commit

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

see file from previous commit git

$ git show HEAD~4:src/main.c
Posted by: Guest on October-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language