Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode"
From Slicer Wiki
m |
|||
Line 12: | Line 12: | ||
3. Reading the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]] | 3. Reading the following page: [[Slicer:git-svn|Slicer guide to <code>git-svn</code>]] | ||
--> | --> | ||
− | |||
− | |||
=== Git === | === Git === |
Revision as of 01:42, 15 June 2013
Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCode
For the latest Slicer documentation, visit the read-the-docs. |
CHECKOUT slicer source files
Git
Checking the code using Git and configuring the git svn
bridge is the way to go. If you plan on contributing code, have a look at How to contribute a patch ?
- Clone the github repository
git clone git://github.com/Slicer/Slicer.git
- Setup the development environment using the
SetupForDevelopment.sh
script as described on our Development With Git page.
- Configure the
git svn
bridge to ensure the mapping with svn revision.
cd Slicer git svn init http://svn.slicer.org/Slicer4/trunk git update-ref refs/remotes/git-svn refs/remotes/origin/master git checkout master git svn rebase