Notepad:SVN Create: Difference between revisions
From Amar
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
mkdir /svnroot | mkdir /svnroot | ||
svnadmin create /svnroot/<new project> | svnadmin create /svnroot/<new project> | ||
chmod g+rw /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>/trunk -m "Initial Trunk" | ||
svn mkdir file:///svnroot/<new project>/tags -m "Initial Tags" | svn mkdir file:///svnroot/<new project>/tags -m "Initial Tags" | ||
Line 10: | Line 10: | ||
On Client | On Client | ||
svn import ssh+svn:svn/svnroot/<new project>/trunk <new project> | svn import ssh+svn://svn/svnroot/<new project>/trunk <new project> | ||
chmod -R g+rw <new project> |
Revision as of 22:50, 12 September 2015
On server with admin:
mkdir /svnroot svnadmin create /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>