Pagine

Thursday 1 December 2016

SVN tutorial n 15 - mkdir - How to create a new directory by CLI

The svn "mkdir" command creates a new directory under version control. This command can be used in two modes. First, using a local path as below:
 svn mkdir <path>
Example:
 svn mkdir myDirectory
 A         myDirectory
 ...
 svn commit -m "created a new directory" myDirectory
Second mode, using the remote url as below:
 svn mkdir <svn_url> -m "comment..."
Example:
 svn mkdir https://my-svn-repo/svn/trunk/myDirectory -m "created a new directory"

No comments:

Post a Comment