如何通过网络使用SVN提交单个文件? [英] How can I commit a single file using SVN over a network?
本文介绍了如何通过网络使用SVN提交单个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用以下命令检出整个svn
存储库:
I am able to check out an entire svn
repository using the following command:
svn co https://myaccount.svn.beanstalkapp.com/myapp/
但是我无法弄清楚提交单个文件的命令.如果我要更改为myapp/page1.html
.
But I cannot figure out the command to commit a single file. If I make to change to myapp/page1.html
.
如何仅检入一个文件?
推荐答案
cd myapp/trunk
svn commit -m "commit message" page1.html
有关更多信息,请参见:
For more information, see:
svn commit --help
如果您刚开始使用Subversion,我还建议这本免费书.
I also recommend this free book, if you're just getting started with Subversion.
这篇关于如何通过网络使用SVN提交单个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文