Git Setup: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) (Basic git instructions) |
Programming (talk | contribs) m (url fixup) |
||
Line 14: | Line 14: | ||
== Team 1511 Repositories == | == Team 1511 Repositories == | ||
All repositories can be viewed at [http://svn.penfieldrobotics.com/gitweb/ | All repositories can be viewed at [http://svn.penfieldrobotics.com/gitweb/ http://svn.penfieldrobotics.com/gitweb/.] | ||
*EXAMPLE: For the project "shifter2015" | *EXAMPLE: For the project "shifter2015" | ||
Line 21: | Line 21: | ||
**If you want just a copy of the current version of the code | **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 http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=tree] | ***go to [http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=tree http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=tree] | ||
***and open "[ | ***and open the "[http://svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=snapshot;h=HEAD;sf=tgz snapshot]" link, which gives you a <span style="font-family:courier new,courier,monospace">.tgz</span> file (gzipped tarball file) | ||
**To extract the snapshot from the command line, run (substituting the file you downloaded) | **To extract the snapshot from the command line, run (substituting the file you downloaded) | ||
***<span style="font-family:courier new,courier,monospace">> gunzip shifter2015-HEAD-d5b0028.tar.gz</span> | ***<span style="font-family:courier new,courier,monospace">> gunzip shifter2015-HEAD-d5b0028.tar.gz</span> | ||
***<span style="font-family:courier new,courier,monospace">> tar -xvf shifter2015-HEAD-d5b0028.tar</span> | ***<span style="font-family:courier new,courier,monospace">> tar -xvf shifter2015-HEAD-d5b0028.tar</span> |
Revision as of 11:43, 28 January 2015
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/99UUsername, 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
- A version 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