How do I add File to SVN without Checking out

前端 未结 4 672
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 18:29

I would like to add a file to a remote svn repository without checking out the project.

svn add requires the project to be checked out

sv

4条回答
  •  渐次进展
    2021-01-03 18:54

    This might not be what you are looking for but you can use -N flag to checkout a code non-recursively.

    Example:

    svn co -N http://svn.example.com/repo/trunk
    

    This will not checkout all the sub-directories. Which is much faster if you are just trying to add a file.

提交回复
热议问题