Git Setup
From 1511Wookiee
Jump to navigationJump to search
Source Code Repository Introduction
Since 2014, Team 1511 uses Git for its source code management. Git lets multiple developers easily work on the same code base and integrate all the changes the developers make.
Git Clients
- Linux: Install git from your package manager, and read the documentation
- Windows: MSysGit is a good solution.
- It can be installed locally on school desktop computers
- extract a zipped copy of the installer to your C:/Users/99yusername, and install with default options
- Bundles graphical tools and a pared down terminal (command line interface)
- It can be installed locally on school desktop computers
- Git is integrated with Eclipse by default.
Team 1511 Repositories
All repositories can be viewed at http://svn.penfieldrobotics.com/gitweb/.
- EXAMPLE: For the project "shifter2015"
- The link to view is: http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=summary
- The location to clone from (via a graphical tool or git clone) is http://svn.penfieldrobotics.com/git/shifter2015.git
- If you want just a copy of the current version of the code
- go to http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=tree
- and open the "snapshot" link, which gives you a .tgz file (gzipped tarball file)
- To extract the snapshot from the command line, run (substituting the file you downloaded)
- > gunzip shifter2015-HEAD-d5b0028.tar.gz
- > tar -xvf shifter2015-HEAD-d5b0028.tar