Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuergen Kosel <juergen.kosel@gmx.de>2019-01-31 21:18:30 +0300
committerJuergen Kosel <juergen.kosel@gmx.de>2019-01-31 21:21:54 +0300
commitdd351567173497c4afdb23ee71b909d8264ed11c (patch)
treef52e3210d8705174f8cb2acb4032b2a6505f45ef /doc
parentb93c3112d035a0a843945d292006303d11621725 (diff)
Describe how to set up a push mirror repository at GitLab
As requested in issue https://gitlab.com/gitlab-org/gitlab-ce/issues/57062 describe how to set up a push mirror repository at GitLab. Signed-off-by: Juergen Kosel <juergen.kosel@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/workflow/repository_mirroring.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md
index ac26aeab137..3804b576b51 100644
--- a/doc/workflow/repository_mirroring.md
+++ b/doc/workflow/repository_mirroring.md
@@ -88,6 +88,15 @@ 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. Create a personal access token with scope "api". This could be done
+in your profile settings
+[personal_access_tokens](https://gitlab.com/profile/personal_access_tokens)
+1. Fill in the **Git repository URL** field using this format: `https://oauth2@gitlab.com/<your_gitlab_group_or_name>/<your_gitlab_project>.git`.
+1. Fill in **Password** field with your GitLab personal access token.
+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.