Cloning a Git Bridge Repo

Revision as of 05:41, 12 March 2015 by Mathomp4 (talk | contribs)

This page will detail the processing of cloning a git bridge repo.

Locations of Bridge Repos

Bridge repos can be found on the following systems:

Bridge Repository Locations
Discover /discover/swdev/adasilva/bridge
JIBB /jibb/nobackup/gmaosi/bridge

Bridge Repos Available

Currently Available Bridge Repositories
Repository Current Version
GEOSagcm Ganymed-4_1
GEOSadas GEOSadas-5_13_0_p1
G5tutorial bma-G5tut-H10U
GEOSctm bma_GEOSctm_H10U_merge_UNSTABLE

Cloning a Bridge Repo

Cloning a bridge repo is just like cloning any other git repo. For example, to clone the GEOSagcm repository:

$ git clone /discover/swdev/adasilva/bridge/GEOSagcm
Cloning into 'GEOSagcm'...
done.
Checking out files: 100% (4328/4328), done.

This will make a GEOSagcm directory. You can then go inside it:


Checking out a Tag

When you clone a repo, you clone the HEAD of that repository. This is usually the latest stable version of the module in question (see above). However, the repository might contain older tags. For example, in GEOSagcm:

$ cd GEOSagcm/src
$ git tag
Ganymed-4_0
Ganymed-4_0_p1
Ganymed-4_1

This shows there are three tags available. If you want to move to an older tag, you can check it out:

$ git checkout Ganymed-4_0_p1