Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

checkout file of different commit

git checkout <COMMIT#> <path/to/the/messed/up/file>
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #checkout #file #commit
ADD COMMENT
Topic
Name
2+2 =