Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode

From Slicer Wiki
Jump to: navigation, search
Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCode


CHECKOUT slicer source files


Check out the code using git and configure the git svn bridge:

  1. Clone the github repository

    git clone git://github.com/Slicer/Slicer.git
  2. Setup the development environment using the SetupForDevelopment.sh script as described on our Development With Git page.

  3. 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