-
Install latest Anaconda and GitHub on your computer. You should also create your GitHub account.
-
On the main page of Fork this repository to your account. Copy the link to your version of the repository (for example using
Clone or download
button) -
Using
cd
find the directory that you want to save your repository into. I.e. if you want your repository saved directly in theDocuments
folder go intoDocuments
folder. -
Type
git clone [link]
(without brackets). Hurray, you downloaded your very first GitHub repo -
Go to your git directory, i.e. type
cd [projectName]
-
Type
jupyter notebook
in your command shell. Your Jupyter should be running on localhost:8888
Whenever you do changes on your computer, it is only stored on the computer. It will not propagate into the GitHub repository.
This part assumets that your shell command is set inside your project directory. In order to push changes online, you will need to do the following:
- Pull the last version of the repository using
git pull origin [branch]
You need to this only if you are not sure that the only difference between version stored in the GitHub's branch and the one you have on your local computer are the ones that you have made since your last [pull] or [clone] request.
If neither you nor anyone else did not make any changes to the code, anywhere else (including direct editations your GitHub account! ), the pull request is not necessary.
- Using
git add *
you will stage the changes that you made - Using
git commit -m "commit description"
command you will commit the staged changes with descriptioncommit description
. - Using
git push origin [branch]
you will propagate your changes to the GitHub account.