开发者

VisualSVN get specific file

I'm new to using VisualSVN, and I wanted to know if you can get a specific file that has been added to source control in an upper level directory without have to update开发者_开发百科 the entire directory (through windows explorer). For instance, if a co-worker adds a config file to the root directory of a solution, how do I get that specific file for my machine without getting latest/updating the entire solution folder?


You can do svn export using direct link to file with (e.g. svn export http://svn.example.com/svn/repo1/config.xml). This operation could be done using Tortoise SVN from Windows Explorer context menu. But keep in mind, that svn export is just a way to download file, wtihout any version control on it.

You also can do a sparse checkout (see this answer).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜