Skip to content
micdom edited this page Dec 22, 2022 · 9 revisions

Welcome to the SEVERN-SWOT wiki!

Scripts to replicate the work on ARCHER2 are in the SCRIPTS directory

  • Examples of basic git commands:
#get master branch
git clone https://github.com/JMMP-Group/SEVERN-SWOT
#switch to another branch and check it out into your working directory
cd SEVERN-SWOT
git checkout WAD
#fetch and merge any commits from the tracking remote branch
git pull https://github.com/JMMP-Group/SEVERN-SWOT.git

#push changes to the master rep online
git add BUILD_CFG/OPEN_BOUNDARIES/NCML/CMEMS.ncml
git add BUILD_CFG/OPEN_BOUNDARIES/namelist_FES14.bdy
git add RUN_DIRECTORIES/EXP_barotropicTide/namelist_cfg
git config --global user.email "user@email.ac.uk"
git config --global user.name "user"
git commit -m "ARCHER2 updates"
git push

Clone this wiki locally