How can I loop through a directory and its child directories in output

I am using the following to check the source from Webkit

git clone git://git.webkit.org/WebKit.git WebKit

      

How can I skip a directory and its child directories when inspecting the code? I want to do this in order to save disk space.

+2


source to share


2 answers


As far as I know, you cannot. Git manages the entire working tree as a cohesive entity. This question does not "map" the logic behind git.



+1


source


Disk space is so cheap it's almost free these days.



Since Git manages the "repository" as a single, single unit, there is no choice in choosing the subdirectories created when checking out the working copy. The best you can do is convince the upstream publisher to manage the large subdirectory as a Git submodule .

+1


source







All Articles