Answer the question
In order to leave comments, you need to log in
How to pull one file in git?
I must be specifying the path to the file incorrectly
git checkout 6g25701874aa5a2c16cc6275fa30baa5b6e477a8 block/prod/work/class/MyFile.php
Answer the question
In order to leave comments, you need to log in
If you just need to checkout a file from the master, then just take the file from the master:
git checkout master -- block/prod/work/class/MyFile.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question