Skip to content
Robert Hallberg edited this page May 19, 2017 · 6 revisions

This are an incomplete sketch of instructions for developers at GFDL. Not particularly relevant for non-GFDL users.

Setup to fetch pull requests:

Edit the config file under .git/ for MOM6. If you have a recursive clone it might be under .git/modules/src/MOM6/config: You should see a block that looks like

[remote "origin"]
        url = [email protected]:NOAA-GFDL/MOM6.git
        fetch = +refs/heads/*:refs/remotes/origin/*

add the line

        fetch = +refs/pull/*/head:refs/remotes/origin/pr/*

Add gitlab as a remote

git remote add gitlab [email protected]:ogrp/MOM6

Instigate tests

git fetch [origin]
git checkout pr/142
git push gitlab pr/142
Clone this wiki locally