How to check one folder from git

How to check only one folder from git (e.g. jsFiles folder on top here )

+4
source share
1 answer

You will need the latest installation of Git 1.7.

$ git --version git version 1.7.0.4 $ git clone http://github.com/mongodb/mongo.git $ cd mongo $ git config core.sparsecheckout true $ echo jstests >.git/info/sparse-checkout $ git read-tree -m -u HEAD $ ls jstests 
+2
source

All Articles