Cloning a Git Bridge Repo: Difference between revisions

Add table of versions
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
|JIBB
|JIBB
|<tt>/jibb/nobackup/gmaosi/bridge</tt>
|<tt>/jibb/nobackup/gmaosi/bridge</tt>
|-
|Pleiades
|<tt>/nobackup/gmao_SIteam/bridge</tt>
|}
|}


Line 38: Line 41:
|}
|}


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


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


Cloning a bridge repo is just like cloning any other git repo:
This will make a GEOSagcm directory. You can then go inside it:


  $ git clone /discover/swdev/adasilva/bridge/GEOSadas


== Checking out a Tag ==
== 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


[[Category:SI Team]]
[[Category:SI Team]]