mkdir SVN Command

How to use mkdir SVN (Subversion) Command in Linux / Windows?

Explanation


mkdir command is used to make / create a directory into the current path of the server and local repository.

Usage:

svn mkdir directoryname

Example:

  • Now you can create a directory to the server using below command.
    svn mkdir dir1
    Output:-----------------------------------------------
    A dir1
    A - Adding new directory
    dir1 - Directory name

    ------------------------------------------------------

  • Then commit after the directory is created.
    svn ci -m add

Result:


This will create a directory named dir1 in the local machine and in to the server repository under the same path from where the command is executed. Dont forget to call svn commit to make the newly created directory commited in to the repo.

Ask Questions

Ask Question