Topic 4
Section outline
-
Version Control
Ralf Hemmecke (1 Unit, Week 46, 17-Nov-2011, 10:45-11:30)- General overview of Source Code Management Systems (SCM)
- Version control with GIT
- Online demonstration of basic GIT Commands
Course Material:
- Slides: VersionControl.pdf
Exercise:
- Send your ssh public key ($HOME/.ssh/id_rsa.pub) as an attachment to hemmecke@risc.jku.at. Do this before the lecture starts, i.e. before Nov 17.
If you do not yet have such a file, create it by running
ssh-keygen -t rsa
at the command line and accept .ssh/id_rsa as the location for the key. - If I've registered your key, you can clone your repo via
git clone hemmecke@parrot.risc.jku.at:cbwe1
orgit clone hemmecke@parrot.risc.jku.at:cbwe2
(you'll only have access to one of those repositories). - Demonstrate the use of git while you are collaborating on your LaTeX exercise.
- You should commit, push and pull often and in small steps, so that your collaborator sees what you are doing. Small commit steps also make possible merge conflicts harmless. Don't fear merges, they will happen and actually should happen.