Git

From Healthcare Robotics Wiki
Revision as of 15:57, 15 March 2012 by Advaitjain (Talk | contribs) (Created page with " == Local Clone of a Google Code Repository for Internal Use== === Motivation === * Advait wanted people in lab to be able to push to and pull from a non-google computer that...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Local Clone of a Google Code Repository for Internal Use

Motivation

  • Advait wanted people in lab to be able to push to and pull from a non-google computer that has a clone of gt-ros-pkg
  • The goal would be to use this as an internal git repository with the option of pushing to gt-ros-pkg hosted on google.com when code is ready to be publicly downloadable.

Steps

  1. Create bare git repository on internal git server:
    • ssh internal_git_server.hsi.gatech.edu
    • mkdir internal_git_bare
    • cd internal_git_bare
    • Clone gt-ros-pkg with advait as the user on internal_git_server.hsi.gatech.edu:
      git clone https://advaitjain@code.google.com/p/gt-ros-pkg.hrl/
    • Convert to a bare repository using steps from here:
      • cd gt-ros-pkg.hrl/
      • git config --bool core.bare true
      • mv .git/ ../
      • rm -rf *
      • mv ../.git/ .