Git Setup: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(Basic git instructions)
 
m (url fixup)
Line 14: Line 14:
== Team 1511 Repositories ==
== Team 1511 Repositories ==


All repositories can be viewed at [http://svn.penfieldrobotics.com/gitweb/ 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 "[[svn.penfieldrobotics.com/gitweb/?p=shifter2015.git;a=snapshot;h=HEAD;sf=tgz|snapshot]]" link, which gives you a .tgz (gzipped tarball file)
***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)
  • A version is integrated with Eclipse by default.

Team 1511 Repositories

All repositories can be viewed at http://svn.penfieldrobotics.com/gitweb/.