Checking out the developer version of Continuity from Git for Linux / Mac
Contents
Linux / Mac
Checking Out Continuity
If you have not already done so, download and install Git. You will also need 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
- If you’re on a Debian-based distribution like Ubuntu, try apt-get:
- If you do not have an ssh key you will need to create one.
- To make a new ssh key:
cd ~/.ssh # you may need to create this directory ssh-keygen
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.
- Wait until you received an e-mail stating that access has been granted. This is not an automated process, this can take some time.
- 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
- If you have ssh issues, try cloning via cmrgdb2's ip address:
- 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.
- Then you just need to do some setup/configuring commands
cd Continuity ./updatemgl sh setup source mglinit
- 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
- Your configuration of the master branch is now complete, to work with other branches see below.
Obtaining branches other than master
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/*
- Fetch the most recent remote branches with :
git fetch
- Checkout your desired branch with:
git checkout branch_name
