diff options
author | Evan Read <eread@gitlab.com> | 2019-02-07 04:13:56 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-02-07 04:13:56 +0000 |
commit | 2cea4fd067e2b78600b93202e0e71b58bccbe3d1 (patch) | |
tree | 21d79881bc0aafeab42b83169a75b1599eeb858e /doc/workflow/repository_mirroring.md | |
parent | 684a1a17674d92682c9d91c4e944e1a31b0bcda4 (diff) | |
parent | 351ad515b75804c620e9aa33382f89110125c7da (diff) | |
download | gitlab-ce-2cea4fd067e2b78600b93202e0e71b58bccbe3d1.tar.gz |
Merge branch 'update-docu-repository-mirroring' into 'master'
Describe how to set up a push mirror repository at GitLab
Closes #57062
See merge request gitlab-org/gitlab-ce!24834
Diffstat (limited to 'doc/workflow/repository_mirroring.md')
-rw-r--r-- | doc/workflow/repository_mirroring.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md index 1213474b7d8..8a2f4e1b40e 100644 --- a/doc/workflow/repository_mirroring.md +++ b/doc/workflow/repository_mirroring.md @@ -88,6 +88,14 @@ The mirrored repository will be listed. For example, `https://*****:*****@github The repository will push soon. To force a push, click the appropriate button. +## Setting up a push mirror to another GitLab instance with 2FA activated + +1. On the destination GitLab instance, create a [personal access token](../user/profile/personal_access_tokens.md) with `API` scope. +1. On the source GitLab instance: + 1. Fill in the **Git repository URL** field using this format: `https://oauth2@<destination host>/<your_gitlab_group_or_name>/<your_gitlab_project>.git`. + 1. Fill in **Password** field with the GitLab personal access token created on the destination GitLab instance. + 1. Click the **Mirror repository** button. + ## Pulling from a remote repository **[STARTER]** > [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/51) in GitLab Enterprise Edition 8.2. |