Set Up Your Fork¶
First you follow the instructions for Making Your Own Copy (Fork) of Sage Notebook.
git clone firstname.lastname@example.org:your-user-name/sagenb.git cd sagenb git remote add upstream git://github.com/sagemath/sagenb.git
Clone Your Fork¶
Clone your fork to the local computer with
git clone email@example.com:your-user-name/sagenb.git
Investigate. Change directory to your new repo:
cd sagenb. Then
git branch -ato show you all branches. You’ll get something like:
* master remotes/origin/master
This tells you that you are currently on the
masterbranch, and that you also have a
origin/master. What remote repository is
git remote -vto see the URLs for the remote. They will point to your github fork.
Now you want to connect to the upstream Sage Notebook github repository, so you can merge in changes from trunk.