This text is a work in progress—highly subject to change—and may not accurately describe any released version of the ApacheTM Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.

svn mkdir
Prev svn Reference—Subversion Command-Line Client Next

Name

svn mkdir — Create a new directory under version control.

Synopsis

svn mkdir PATH...

svn mkdir URL...

Description

Create a directory with a name given by the final component of the PATH or URL. A directory specified by a working copy PATH is scheduled for addition in the working copy. A directory specified by a URL is created in the repository via an immediate commit. Multiple directory URLs are committed atomically. In both cases, all the intermediate directories must already exist unless the --parents option is used.

Options

--editor-cmd CMD
--encoding ENC
--file (-F) FILENAME
--force-log
--message (-m) MESSAGE
--parents
--quiet (-q)
--with-revprop ARG

Examples

Create a directory in your working copy:

$ svn mkdir newdir
A newdir

Create one in the repository (this is an instant commit, so a log message is required):

$ svn mkdir -m "Making a new dir." http://svn.red-bean.com/repos/newdir
Committed revision 26.

Prev Up Next
svn mergeinfo Home svn move (mv)

AltStyle によって変換されたページ (->オリジナル) /