Difference between revisions of "Git"

Jump to navigation Jump to search
63 bytes removed ,  21:17, 1 June 2011
no edit summary
Line 8: Line 8:


Checking out the complete trunk the first time:
Checking out the complete trunk the first time:
<source lang="sh">
<pre>
svn co http://svn.openzim.org/svnroot/trunk zim
svn co http://svn.openzim.org/svnroot/trunk zim
</source>
</pre>


or update everything once you have checked out:
or update everything once you have checked out:
<source lang="sh">
<pre>
svn up http://svn.openzim.org/svnroot/trunk
svn up http://svn.openzim.org/svnroot/trunk
</source>
</pre>


=== Commit Access ===
=== Commit Access ===
Once you got commit access to our server check out the whole trunk (or a part of it) before you start working on your local repository:
Once you got commit access to our server check out the whole trunk (or a part of it) before you start working on your local repository:
<source lang="sh">
<pre>
svn co svn+ssh://USER@openzim.org/var/svn/repos/trunk zim
svn co svn+ssh://USER@openzim.org/var/svn/repos/trunk zim
</source>
</pre>


Commit changes:
Commit changes:
<source lang="sh">
<pre>
svn ci
svn ci
</source>
</pre>
 
* replace USER with you openZIM user account
* replace USER with you openZIM user account
* replace trunk with the branch you whish to check out
* replace trunk with the branch you whish to check out

Navigation menu