How to Use the add command of svn in Linux This section will help you learn some of the content of the SVN sub-command add. After a long time learning the SVN sub-command, I will share some of my experiences with you here, after reading this article, you must have gained a lot. I hope this article will teach you more things. Name svn add-add a file, directory, or symbolic chain. The SVN sub-command add PATH... describes the file, directory, or symbolic chain to your work copy and is scheduled to be added to the version library. They will be submitted and uploaded to the version library next time. If you change your mind before submission, you can use svn revert to cancel the reservation. Option -- targets FILENAME -- non-recursive (-N) -- quiet (-q) -- config-dir DIR -- no-ignore -- auto-props -- no-auto-props -- force example: Let's take an example to see the SVN sub-command add, add a file to the work copy: $ svn add foo. c A foo. c. When a directory is added, the default behavior of svn add is recursive: $ svn add testdirA testdir/aA testdir/bA testdir/cA testdir/d you can add only one directory without including its content: $ svn add -- non-recursive otherdirA otherdir generally, the command svn add * ignores all directories under version control. Sometimes, you will want to add all the unversionized files of the Work copy, including those hidden in You can use the -- force command added by svn to Recursion to the versionized directory: $ svn add * -- forceA foo. cA somedir/bar. cA otherdir/docs/baz.doc. The usage of the SVN sub-command add is described.