Go to svn add-add to Repository
add: Include Files and directories in version control, and add them to the repository by dispatching. They will be added at the next commit. Usage: Add Path ... Valid options:--targets ARG: Pass file arg content as attachment parameter-N [--non-recursive]: obsolete; try--depth=files or--depth=immediates--depth ARG: operation constrained by depth parameter arg ("Empty", "Files", "Immediates", or "infinity")-Q [--quiet]: Do not print information, or print only summary information--force: Forced Action Run--no-Ignore: Ignore Default and Svn:ignore properties--auto-props: Enable automatic attributes--no-auto-props: Turn off automatic properties--parents: Increase the intermediate parent directory global option:--username arg: Specify user name arg--password arg: Specify the password arg--no-auth-caches: Do not cache user authentication tokens--non-Interactive: Do not interact with hints--trust-server-cert: Do not prompt to accept the Unknown SSL server certificate (option only)--non-Interactive ")--config-dir arg: Read user profile from directory arg--config-Option ARG: Set User Configuration options in subordinate format: FILE:SECTION:OPTION=[VALUE] For example: Servers:Global: Http-library=serf
Common operations
1. Add a file to the working copy:
$ svn Add foo.c
2. When adding a directory, the SVN add default behavior is recursive:
$ svn Add TestDir
3. You can add only one directory and not its contents:
$ svn add–non-recursive Otherdir
$ svn add-n Otherdir
4. In general, the command SVN add * ignores all directories that are already under version control, and sometimes you will want to add all the working copies of the non-versioned files, including those hidden in the depths of the file, you can use the SVN add –force recursive to the versioned directory:
$ svn Add *–force
SVN add to Repository