How can I commit a single file using SVN over a network?

ryy705 picture ryy705 · May 17, 2011 · Viewed 101.2k times · Source

I am able to check out an entire svn repository using the following command:

svn co https://myaccount.svn.beanstalkapp.com/myapp/

But I cannot figure out the command to commit a single file. If I make to change to myapp/page1.html.

How can I check in just that one file?

Answer

Johnsyweb picture Johnsyweb · May 17, 2011
cd myapp/trunk
svn commit -m "commit message" page1.html

For more information, see:

svn commit --help

I also recommend this free book, if you're just getting started with Subversion.