From 6f8e59bbc76bd50e09dc515780755235c34a7cf2 Mon Sep 17 00:00:00 2001 From: Joseph Yu Date: Tue, 22 Jan 2019 11:46:02 +0000 Subject: Updated fields information for push mirror from GitLab to GitHub --- doc/workflow/repository_mirroring.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc') 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://:@github.com/group/project.git`. +1. Fill in the **Git repository URL** field using this format: `https://@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]** -- cgit v1.2.1 From 1542787a53640481334ecf10dc6f464603ee3067 Mon Sep 17 00:00:00 2001 From: Joseph Yu Date: Wed, 23 Jan 2019 17:40:15 +0000 Subject: Amended with suggestions by @eread --- doc/workflow/repository_mirroring.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/workflow/repository_mirroring.md b/doc/workflow/repository_mirroring.md index 0da35eb5d78..cc595dfe292 100644 --- a/doc/workflow/repository_mirroring.md +++ b/doc/workflow/repository_mirroring.md @@ -80,14 +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 using this format: `https://@github.com/group/project.git`. -1. Fill in **Password** field with the personal access token. +1. Fill in the **Git repository URL** field using this format: `https://@github.com//.git`. +1. Fill in **Password** field with your GitHub personal access token. 1. Click the **Mirror repository** button. - -The resulting repository address will look like: `https://*****:*****@github.com/group/project.git`. +The mirrored repository will be listed. For example, `https://*****:*****@github.com//.git`. -It should automatically push (refresh page to update status). To force a push, click the `Update Now` button :arrows_clockwise:. +The repository will push soon. To force a push, click the appropriate button. ## Pulling from a remote repository **[STARTER]** -- cgit v1.2.1