开发者

How do I checkout a working copy with folders but not files?

Is there a way to create a working copy with all child folders but without files in it? My repository is very big, I only need the empty dir开发者_运维知识库ectory structure to be created.


You can use the --depth switch to check out an empty directory:

svn co --depth empty <URL>

Then you can do a svn update --depth empty <folder> for each folder you are interested in.

For documentation of the feature "sparse directories" see here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜