Contaminant Transport in Microcosms
For viewing in "nbviewer": http://nbviewer.jupyter.org/github/DayTimeChunks/LeachingSimulations/tree/master/
This repository collects progress on leaching models written in python.
To contribute follow these steps: http://rogerdudler.github.io/git-guide/
A. Download the project to your computer
- Fork the project to your own GitHub account (see fork button on top right corner of GitHub page)
- In the terminal change to the directory where you want to store the project
- Clone it by typing in the command window: "git clone" + "http address of the repository" (note: must have Git installed)
- Make the changes needed in your computer.
B. Commit Changes
- After you've made changes to the files in local directory (i.e. your computer), check the status on your terminal by typing :"git status"
- Add the files you edited: "git add " or to add all files: "git add *"
- To actually commit these changes use: " git commit -m "Commit message" ". Now the file is committed to the HEAD, but not in your remote repository yet.
C. Push Changes
- To send those changes to your remote repository, execute: "git push origin master". Change master to whatever branch you want to push your changes to.
D. Branching
-
Make new branch locally: git checkout -b new_branch_name
-
Switch back to master: git checkout master
-
Delete the branch locally: git branch -d new_branch_name
-
Delete the branch remotely: git push origin --delete new_branch_name or:
-
Make it available remotely: git push origin new_branch_name