diff options
author | Evan Read <eread@gitlab.com> | 2019-01-24 07:21:16 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-01-24 07:21:16 +0300 |
commit | bef92cf27031a605f60480db75bad60774824e7b (patch) | |
tree | 0f23ecf263aaf4b4327f6b96af28c06abe6edf3c /doc | |
parent | 0a1c9b9b348c193ee17780f985447ee4534db888 (diff) | |
parent | 1542787a53640481334ecf10dc6f464603ee3067 (diff) |
Merge branch 'docs-push-mirror-GitLab-GitHub' into 'master'
(docs) Updated fields information for push mirror from GitLab to GitHub
See merge request gitlab-org/gitlab-ce!24566
Diffstat (limited to 'doc')
-rw-r--r-- | doc/workflow/repository_mirroring.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md index e259e6fe50c..cc595dfe292 100644 --- a/doc/workflow/repository_mirroring.md +++ b/doc/workflow/repository_mirroring.md @@ -80,10 +80,13 @@ mirror. To set up a mirror from GitLab to GitHub, you need to follow these steps: 1. Create a [GitHub personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) with the `public_repo` box checked. -1. Fill in the **Git repository URL** field, with the personal access token instead of a password. - For example: `https://<GitHubUsername>:<GitHubPersonalAccessToken>@github.com/group/project.git`. +1. Fill in the **Git repository URL** field using this format: `https://<your_github_username>@github.com/<your_github_group>/<your_github_project>.git`. +1. Fill in **Password** field with your GitHub personal access token. 1. Click the **Mirror repository** button. -1. Wait, or click the update button. + +The mirrored repository will be listed. For example, `https://*****:*****@github.com/<your_github_group>/<your_github_project>.git`. + +The repository will push soon. To force a push, click the appropriate button. ## Pulling from a remote repository **[STARTER]** |