= Checking out the developer version of Continuity from Git for Linux / Mac = [[TableOfContents()]] [[Anchor(linux)]] == Linux / Mac == === Checking Out Continuity === 1. If you have not already done so, download and install [https://git-scm.com/downloads Git]. You will also need [https://www.gnu.org/software/autoconf/autoconf.html autoconf] * If you’re on a Debian-based distribution like Ubuntu, try apt-get: {{{ sudo apt-get install git-all sudo apt-get install autoconf }}} 1. If you do not have an ssh key you will need to create one. * [https://help.github.com/articles/checking-for-existing-ssh-keys/ Checking for existing SSH keys] * To make a new ssh key: {{{ cd ~/.ssh # you may need to create this directory ssh-keygen }}} 1. Send your public key to Frank James Spitulski (fspituls@eng.ucsd.edu), copying Dr. !McCulloch (amcculloch@ucsd.edu) on the email, requesting to have access to the Continuity Git repository. 1. Wait until you received an e-mail stating that access has been granted. This is not an automated process, this can take some time. 1. You now have access to the cmrg git repository which will allow you clone the source. Use this command to copy the code onto into your current directory: {{{ git clone --depth=10 git@cmrgdb2.ucsd.edu:/Volumes/pegasus_R6/data/ftp_server/active/Continuity_Git/Continuity.git }}} * If you have ssh issues, try cloning via cmrgdb2's ip address: {{{ git clone --depth=10 git@132.239.25.39:/Volumes/pegasus_R6/data/ftp_server/active/Continuity_Git/Continuity.git }}} 1. If all goes well with step 5, you should see Git compress and checkout the files. Wait 5 to 30 minutes depending upon the speed of your internet connection. 1. Then you just need to do some setup/configuring commands {{{ cd Continuity ./updatemgl sh setup source mglinit }}} 1. Lastly, the first time you start Continuity you need to move some files into place and you need to include the --update-binaries command to do that: {{{ ./continuity --update-binaries }}} 1. Your configuration of the master branch is now complete, to work with other branches see below. === Obtaining branches other than master === 1. When you first clone the repository you only get the master branch. To obtain others you must edit the `.git/config` file within the repository. Replace this line: {{{ fetch = +refs/heads/master:refs/remotes/origin/master }}} with: {{{ fetch = +refs/heads/*:refs/remotes/origin/* }}} 1. Fetch the most recent remote branches with : {{{ git fetch }}} 1. Checkout your desired branch with: {{{ git checkout branch_name }}} == Obsolete SVN instructions == [http://continuity.ucsd.edu/Continuity/Documentation/DeveloperDocs/CheckingOutSourceFromSVN Obtaining the source from SVN]