Version Control

CodeXX Meetup October 20, 2014

While you wait...

  • Install a text editor (Sublime)
  • http://github.com
  • create an account
  • tell me your username
  • install git

on a mac: http://sourceforge.net/projects/git-osx-installer/

on a pc: http://msysgit.github.io

Tenants of Adult Learning

  • You should know why you are learning something.
  • The foundation of the learning activities should include experience.
  • You should plan and evaluate your own instruction.
  • The things you learn should directly impact your daily activities.
  • Learning should be oriented towards problems not content.
  • Your motivations should be your own, not external.

Follow Along

http://averycodes.com/blog/version-control-for-codexx/

Versioning

Command Line Interface

git config --global user.email <email>

git config --global user.name <name>

git config --global core.editor nano

https://github.com/averymanderson/teaching-git

git clone <clone url>

git add -p

git status

git commit -m <message>

git push

git pull

git branch <branchname>

git checkout <branchname>

git merge <branchname>