|
||
---|---|---|
scenarios | ||
.gitignore | ||
auth.py | ||
cheatsheet.md | ||
exercise.md | ||
git-commands-visualizations.pdf | ||
README.md |
git
Setup
- Login with your username found on your name badge and set the initial password for your account: https://git.aspp.school/user/login
- You'll have to type that password many many times this week: choose wisely!
- We will use the exercise in the repo for the rest of the lecture
A cautionary quote
My first instinct is to sell all my computers, fake my own death, move to another planet, and reinvent computing from scratch, rather than try to understand Git.
I rarely actually do that, mind you. But the urge is there.
— Lars Wirzenius (Linux kernel developer)
Lecture notes
… will follow after the lecture …
Scenarios
- lone scientist working alone in the cellar without Internet (local git)
- lone scientist uploading their software to the Internet in the hope it can be useful for other people (local git + one personal GitHub repo)
- lone scientist sharing one software project with some other befriended lone scientist working in a different place (local git + one personal GitHub repo + permissions)
- research group sharing software among members (local git + several GitHub repos + permissions + branches + [optional] PRs)
- fully distributed software development using the most typical open source software workflows as used by numpy, scipy, sklearn, etc. (like above + we don't trust our contributors, i.e. work strictly with forks)