Notepad:SVN Create: Difference between revisions

From Amar
Jump to navigationJump to search
Created page with "On server with admin: mkdir /usr/share/svn svnadmin create /usr/share/svn/jon.myproject.com svn mkdir file:///usr/share/svn/jon.myproject.com/trunk svn mkdir file:///usr/..."
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
On server with admin:
On server with admin:


  mkdir /usr/share/svn
  cd/svnroot
  svnadmin create /usr/share/svn/jon.myproject.com
svnadmin create /svnroot/<new project>
  svn mkdir file:///usr/share/svn/jon.myproject.com/trunk
  chown -R svnuser:svngroup /svnroot/<new project>
  svn mkdir file:///usr/share/svn/jon.myproject.com/tags
chmod -R g+rw /svnroot/<new project>
  svn mkdir file:///usr/share/svn/jon.myproject.com/branches
  svn mkdir file:///svnroot/<new project>/trunk -m "Initial Trunk"
  svn import ~/jon.myproject.com file:///usr/share/svn/jon.myproject.com/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>
 
To Exclude
svn propset svn:ignore --depth=immediates <exclude dir> .
svn ci "ignore */<exclude dir>"
 
 
 
{{Notepad}}

Latest revision as of 05:07, 17 December 2019

On server with admin:

cd/svnroot
svnadmin create /svnroot/<new project>
chown -R svnuser:svngroup /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>

To Exclude

svn propset svn:ignore --depth=immediates <exclude dir> .
svn ci "ignore */<exclude dir>"



← Back to Notepad



<insert>googlesearchwiki</insert> <insert>paypal</insert> <insert>analytics</insert>