|
|
|
---
|
|
|
|
title: Pushing MAR code changes
|
|
|
|
---
|
|
|
|
|
|
|
|
This tutorial describes how you can commit and push MAR code changes on a GitLab repository (such as [ESPECES/MAR/stable](https://gitlab.uliege.be/especes/mar/stable)) from a cluster or lab machine (such as climato\.be) using a few ``git`` commands.
|
|
|
|
|
|
|
|
>**Reminders about ``git`` terminology:**
|
| ... | ... | @@ -35,7 +36,7 @@ The first two steps above only need to be done once. Only the third and final st |
|
|
|
3) In the new _User settings_ menu on the left, click on **Access tokens**.
|
|
|
|
4) At the top right of the table (empty at first), click on **Add new token**.
|
|
|
|
5) Give it a name and description (optional), then tick at least the ``read_repository`` and ``write_repository`` boxes. Once done, click on **Create personal access token**.
|
|
|
|
6. On the new page, in the green box, click on the eye icon (or better still, the copy/paste icon next to it). Copy the sequence into a text file in a secure location (e.g. on your personal computer). This will be used as the starting point for the next step.
|
|
|
|
6) On the new page, in the green box, click on the eye icon (or better still, the copy/paste icon next to it). Copy the sequence into a text file in a secure location (e.g. on your personal computer). This will be used as the starting point for the next step.
|
|
|
|
|
|
|
|
### Step 2: add your GitLab credentials to your lab machine or cluster (only once)
|
|
|
|
|
| ... | ... | |
| ... | ... | |