Notes & bits of code supporting the 2014 UW-Madison Astronomy Statistics, Data Mining, and Machine Learning study group.
To keep this repository organized please follow these instructions when writing new material for the course.
Create a directory where you will keep the repository content. cd into the directory Initialize the directory as a git repository
git initCreate an alias for the repository
git remote add origin git@github.com:brittlundgren/py-astro-stat.gitPull the master branch.
git pull origin masterCreate a directory under which you want to add content. Switch to a new branch
git checkout -b newbranchMake your edits to the repository. To send changes back to the repository, first add the changes to git, then commit them to the local repository, then push them to the branch.
git add newmaterial
git commit -m 'Added new material'
git push origin newbranchWhen finished, switch back to the master branch.
git checkout masterPush your edits to the master branch
git add newmaterial
git commit -m 'Added new material'
git push origin master