biom262-2016
Github Repo and start up the week's notebooks¶You should have a code
and notebooks
directory already. If not, create them. Since the biom262-2016
is essentially a bunch of code, we'll clone this into the code
directory. Use your newfound knowledge of git
and UNIX to go into the code
directory and clone the class repo:
~/code
" directory.biom262-2016
repository and add a branch called week01
. This will allow you to have all your work for this week's homework in one place, and it won't get touched or deleted, even if you update the local code.When you push code, you'll push to the week01
branch instead of master
, e.g.
git push origin week01
Run this command to add the main biom262-2016
repository as the "upstream" repository, so you can always pull changes in.
git remote add upstream https://github.com/biom262/biom262-2016
No worries - you can still get set up properly. Go to the biom262-2016 repo and click "Fork." Then run these commands Note: you will need to replace yourgithubusername
with your actual github username:
git remote set-url origin https://github.com/yourgithubusername/biom262-2016
git remote add upstream https://github.com/biom262/biom262-2016
*Note: you will still need to create a branch*
In the Jupyter browser, now navigate to ~/code/biom262-2016/weeks/week01/6_jupyter_demo.ipynb
to follow along for this notebook.