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