Notepad:SVN Create

From Amar
Revision as of 23:05, 12 September 2015 by Lax (talk | contribs)
Jump to navigationJump to search

On server with admin:

mkdir /svnroot
svnadmin create /svnroot/<new project>
chown -R svnuser:svnroot /svnroot/<new project>
chmod -R g+rw /svnroot/<new project>
svn mkdir file:///svnroot/<new project>/trunk -m "Initial Trunk"
svn mkdir file:///svnroot/<new project>/tags -m "Initial Tags"
svn mkdir file:///svnroot/<new project>/branches -m "Initial Branches"


On Client

svn import ssh+svn://svn/svnroot/<new project>/trunk <new project>
chmod -R g+rw <new project>