Creating the GEOSagcm bridge repo: Difference between revisions
Line 822: | Line 822: | ||
Ganymed-4_1 MAT: Tag Ganymed-4_1 | Ganymed-4_1 MAT: Tag Ganymed-4_1 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Switching between tags === | |||
Let's see if we can access the tags. | |||
<nowiki>(1052) $ cd GEOSagcm-Branch-Repo/ [jibb03:...mathomp4/Models 9:37am] | |||
total 0 | |||
Directory: /jibb/nobackup/mathomp4/Models/GEOSagcm-Branch-Repo | |||
(1053) $ git clone /jibb/nobackup/gmaosi/bridge/GEOSagcm [jibb03:...Models/GEOSagcm-Branch-Repo 9:37am] | |||
Cloning into 'GEOSagcm'... | |||
done. | |||
Checking out files: 100% (4329/4329), done. | |||
</nowiki> | |||
Okay. Now: | |||
<nowiki>(1065) $ cd GEOSagcm/src/ [jibb03:...Models/GEOSagcm-Branch-Repo 9:39am] | |||
total 448K | |||
drwxr-xr-x 4 mathomp4 j1066 512 2014-12-03 09:37 Applications/ | |||
-rwxr-xr-x 1 mathomp4 j1066 7.3K 2014-12-03 09:37 Assert.pl* | |||
drwxr-xr-x 2 mathomp4 j1066 512 2014-12-03 09:37 CVS/ | |||
drwxr-xr-x 3 mathomp4 j1066 64K 2014-12-03 09:37 Config/ | |||
drwxr-xr-x 4 mathomp4 j1066 512 2014-12-03 09:37 GEOSgcs_GridComp/ | |||
drwxr-xr-x 16 mathomp4 j1066 64K 2014-12-03 09:37 GMAO_Shared/ | |||
-rwxr-xr-x 1 mathomp4 j1066 4.1K 2014-12-03 09:37 GNUmakefile* | |||
-rwxr-xr-x 1 mathomp4 j1066 14K 2014-12-03 09:37 g5_modules* | |||
-rw-r--r-- 1 mathomp4 j1066 1.2K 2014-12-03 09:37 g5_modules.sh | |||
-rwxr-xr-x 1 mathomp4 j1066 19K 2014-12-03 09:37 parallel_build.csh* | |||
Directory: /jibb/nobackup/mathomp4/Models/GEOSagcm-Branch-Repo/GEOSagcm/src | |||
(1066) $ git tag -n1 -l [jibb03:...GEOSagcm/src 9:40am] | |||
Ganymed-4_0 MAT: Before updating to Ganymed-4_1, tag as Ganymed-4_0 | |||
Ganymed-4_0_p1 MAT: Tag Ganymed-4_0_p1 CVS update | |||
Ganymed-4_1 MAT: Tag Ganymed-4_1 | |||
(1067) $ cvscmp Ganymed-4_1 [jibb03:...GEOSagcm/src 9:40am] | |||
(1068) $ git checkout Ganymed-4_0_p1 [jibb03:...GEOSagcm/src 9:40am] | |||
Note: checking out 'Ganymed-4_0_p1'. | |||
You are in 'detached HEAD' state. You can look around, make experimental | |||
changes and commit them, and you can discard any commits you make in this | |||
state without impacting any branches by performing another checkout. | |||
If you want to create a new branch to retain commits you create, you may | |||
do so (now or later) by using -b with the checkout command again. Example: | |||
git checkout -b new_branch_name | |||
HEAD is now at bf2b958... MAT: Remove deleted file shown by git status | |||
(1069) $ git log --decorate=full [jibb03:...GEOSagcm/src 9:40am] | |||
commit bf2b9584f29972078803985791b0df0b68a74a83 (HEAD) | |||
Author: Matthew Thompson <matthew.thompson@nasa.gov> | |||
Date: Wed Dec 3 09:03:20 2014 -0500 | |||
MAT: Remove deleted file shown by git status | |||
commit 2515d09f0085fd9370e0b39c538793c9c5ce753d | |||
Author: Matthew Thompson <matthew.thompson@nasa.gov> | |||
Date: Wed Dec 3 09:01:27 2014 -0500 | |||
MAT: Update GEOSagcm git bridge repo with CVS checkout of Ganymed-4_0_p1 retrieved with: ecvs -q upd -kk -r Ganymed-4_0_p1 o | |||
n 2014-Dec-03 | |||
commit a803acd43fc803511fdac603a6912ebc1b95f41b (tag: refs/tags/Ganymed-4_0) | |||
Author: Matthew Thompson <matthew.thompson@nasa.gov> | |||
Date: Thu Sep 4 13:07:59 2014 -0400 | |||
MAT: Add .gitignore file | |||
commit c13a2dc367c3c709e21a82b7f8c858486c292acd | |||
Author: Matthew Thompson <matthew.thompson@nasa.gov> | |||
Date: Thu Sep 4 13:06:40 2014 -0400 | |||
Initialize GEOSagcm git bridge repo with CVS checkout of Ganymed-4_0 retrieved with: ecvs co -kk -r Ganymed-4_0 Ganymed on 2 | |||
014-Sep-04 | |||
(1070) $ cvscmp Ganymed-4_1 [jibb03:...GEOSagcm/src 9:40am] | |||
The following files need to be UPDATED for tag Ganymed-4_1 | |||
|-------------|------------------------------------------------------------ | |||
| Newest | | |||
|-------------| File Name | |||
| Here | Tag | | |||
|------|------|------------------------------------------------------------ | |||
| | x | Applications/GEOSgcm_App/.AGCM_VERSION | |||
| | x | Applications/GEOSgcm_App/AGCM.rc.tmpl | |||
| | x | Applications/GEOSgcm_App/ChangeLog | |||
| | x | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSgwd_GridComp/GEOS_GwdGridComp.F90 | |||
| | x | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatch_GridComp/GEOS_CatchGridComp.F90 | |||
| | x | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSturbulence_GridComp/GEOS_TurbulenceGridComp.F90 | |||
|------|------|------------------------------------------------------------ | |||
</nowiki> | |||
Well, it's there I guess. (Note, you probably don't want to checkout a tag like this. -b branch_name is better so you don't get into a detached HEAD state...or so I've read.) |