Solve collaboration problems and keep track of changes with version control.
No matter which option you choose, please make sure that by the time the course starts you can open a terminal application on your machine and successfully run git --help
.
If you need a refresher or an introduction to using the command line then I suggest reading through learn enough command line to be dangerous.
- download VirtualBox
- download the course VM, unzip it
- start VirtualBox
- add the vm:
Machines
->Add
->path-to-folder
- start the vm
- the username is
leon
and the password iswp
- start the terminal: press
alt + ctrl + t
- download git
- make sure you can run git from the command line
As long as git is available there :)
- motivation: use cases
- git and version control
- concepts:
repos
,commits
,remotes
,branches
- practical session
- create a repo
- make changes, add and commit them
- ignore files
- inspect state/history
- keep changes for later
- remove files
- clone a repo
- get new changes from a remote
- push changes to a remote
- create a branch
- find out who changed what
- moving back in time
- commands reference:
log
,status
,diff
,add
,commit
,stash
,clone
,pull
,push
,rebase
,branch
,blame
- tools
- desktop clients
- remote hosting options, pros and cons
- git extensions - for special needs
- using git to gain insight