I do not want to clone the whole repository. We have a repository that is 300 MB, and I just only want the folder called /sourcecode, instead of downloading the whole root folder.
Is there a way to do this?
I do not want to clone the whole repository. We have a repository that is 300 MB, and I just only want the folder called /sourcecode, instead of downloading the whole root folder.
Is there a way to do this?
The feature itself is not yet available for TortoiseGit: see issue 1599 (January 2013).
So it should be a simple checkout, except you need to edit first .git/info/sparse-checkout
, as describe in "Is it possible to do a sparse checkout without checking out the whole repository first?".
Be aware that it is still buggy with msysgit1.8.1 though. See "Why does git sparse checkout leave behind directories?".