Advantages Project Career Divide & Conquer Collaboration Versioning System Career Much needed skill Project Portfolio Code Reuse / Management
Step 1: Create an account https://github.com/
Step 2: Create new Repository (Project)
Git Commands
git clone get a copy of an existing Git repository (e.g. projects you like to contribute to)
determines which file(s) are in which state * git status determines which file(s) are in which state
git branch <branch_name> git checkout <branch_name> branching minimizes a lot of headache; can be use for versioning Explain about master and branches. Branching minimizes a lot of headache.
Control LEDs using keyboard keys thru serial communication Project Control LEDs using keyboard keys thru serial communication
Divide and Conquer James will write the code for the Arduino Gabe will write the code in Python for keyboard controls
git add . git add <file_name> * git add . git add <file_name> when creating a new file, you have to add it
git pull git add . git commit -m ”Message” git push * git commit -am “Message” git pull git add . git commit -m ”Message” git push Record changes to the repository each time the project reaches a state you want to record
git merge <branch_name> merge <branch_name> to current branch
git checkout <file_name> made changes to a file, and you want to reset it back to the last commit
References http://git-scm.com/book/en/Getting-Started