diff options
author | Joseph Yu <josephyu2712+gitlabs@gmail.com> | 2019-01-22 11:46:02 +0000 |
---|---|---|
committer | Joseph Yu <josephyu2712+gitlabs@gmail.com> | 2019-01-22 11:46:02 +0000 |
commit | 6f8e59bbc76bd50e09dc515780755235c34a7cf2 (patch) | |
tree | 34687eec6e8abc271779a29606eba25a5e785295 /doc/workflow | |
parent | ed1da730202bf3178c43b3467635853733b799c1 (diff) | |
download | gitlab-ce-6f8e59bbc76bd50e09dc515780755235c34a7cf2.tar.gz |
Updated fields information for push mirror from GitLab to GitHub
Diffstat (limited to 'doc/workflow')
-rw-r--r-- | doc/workflow/repository_mirroring.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md index e259e6fe50c..0da35eb5d78 100644 --- a/doc/workflow/repository_mirroring.md +++ b/doc/workflow/repository_mirroring.md @@ -80,10 +80,14 @@ 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://<GitHubUsername>@github.com/group/project.git`. +1. Fill in **Password** field with the personal access token. 1. Click the **Mirror repository** button. -1. Wait, or click the update button. + + +The resulting repository address will look like: `https://*****:*****@github.com/group/project.git`. + +It should automatically push (refresh page to update status). To force a push, click the `Update Now` button :arrows_clockwise:. ## Pulling from a remote repository **[STARTER]** |