FreeKB - Subversion (Version Control) svn add command
Subversion (Version Control) - svn add command

This assumes you have Subversion installed on your local PC. These examples are based on Linux.

Let's say you have checked out from the master Subversion repository to /tmp/SVN on your local PC. Create a new file in the directory.

cd /tmp/SVN
touch foo.txt


Add the new file to Subversion.

svn add foo.txt


The svn status command will now show that foo.txt has a status of A (ready to be committed).

svn status foo.txt
A         SVN/foo.txt


You would then commit the new file.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter d6899 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |