git

Checkout a file (just one file) from a specific commit (revision)

git checkout 6c1d1862 AppConsumer/Curbsidr.xcodeproj/project.pbxproj

If, for instance, we want to checkout project.pbxproj from commit 6c1d18623f5e42c1b309bd008dd8a28f8d166d03:

git checkout 6c1d1862 AppConsumer/Curbsidr.xcodeproj/project.pbxproj
Checkout a file (just one file) from a specific commit (revision)

Subscribe to The infinite monkey theorem

Get the latest posts delivered right to your inbox