如何在不签出的情况下将文件添加到 SVN [英] How do I add File to SVN without Checking out
本文介绍了如何在不签出的情况下将文件添加到 SVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在不签出项目的情况下将文件添加到远程 svn 存储库.
I would like to add a file to a remote svn repository without checking out the project.
svn add
要求项目被检出
svn import
好像只导入目录
有什么想法吗?
推荐答案
你应该可以使用 svn import
:
$ svn help import
import: Commit an unversioned file or tree into the repository.
Import 能够将单个文件和树添加到存储库.
Import is able to add individual files and trees to a repository.
这篇关于如何在不签出的情况下将文件添加到 SVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文