Next: Copying, moving and deleting
Up: Basic Operations
Previous: Examing the differences between
Contents
New directories in the repository can be created with svn
mkdir. The new directory can be provided in two ways - either as a
full url and will be created directly in the repository or as a
relative path in the local working copy. The first way does not
require a checked-out local copy and looks like this:
$ svn mkdir https://localhost/svn/repo1/helloworld/trunk/docs
The second one does require a local working copy:
$ svn mkdir docs
A docs
$ svn commit -m "added new dir"
Ivan Ivanov
2008-04-21