Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| git:keep_fork_in_sync [2017/08/30 14:51] – créée marc dexet | git:keep_fork_in_sync [2017/08/30 14:53] (Version actuelle) – marc dexet | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| 1. Clone your fork: | 1. Clone your fork: | ||
| - | | + | < |
| + | | ||
| + | </ | ||
| - | 2. Add remote from original repository in your forked repository: | + | 2. Add remote from original repository in your forked repository: |
| - | | + | < |
| - | git remote add upstream git:// | + | |
| - | git fetch upstream | + | git remote add upstream git:// |
| + | git fetch upstream | ||
| + | </ | ||
| 3. Updating your fork from original repo to keep up with their changes: | 3. Updating your fork from original repo to keep up with their changes: | ||
| - | | + | < |
| - | + | | |
| + | </ | ||
| 4. Push to gitlab remote | 4. Push to gitlab remote | ||
| - | + | ||
| - | | + | < |
| - | | + | git push |
| - | Source : https:// | + | </ |
| + | |||
| + | Source : [[https:// | ||
| + | |||
| + | {{tag> | ||
| + | |||