Post on 04-Jan-2016
Git overview for RoboCup
Andre Pool, September 2015
Contents
• About• Don’ts• Branching• Questions
About• Around since 2005 (Linux)• 100% save (calculated hashes)• Very strict!• Impossible to tamper with data• Distributed version control system• Gazillion options• Better merge then SVN• Hashes instead of readable version number
How• Slightly more difficult to use then SVN
– Logical if you understand the revision management problem!
• Can start using GIT with only a few commands– log, status, diff, add, commit, push and pull
• Advice to start with command line– Know what is going on
Distributed Version Control System (DVCS)
• Every working directory is a complete repository• Commit on local repository (extremely fast)• Commit not depended on other users/repos• Central (golden) repository is optional• Before deleting workspace
– Push to somewhere– Pulled from somewhere
• Do not add large files to the source repository!– > 100kByte (png, doc, avi, ..)
• Large files on:– Separate git repository– Mega– Google Drive …
Branching
Questions