Commit bef92cf2 authored by Evan Read's avatar Evan Read

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
parents 0a1c9b9b 1542787a
---
title: Updated docs for fields in pushing mirror from GitLab to GitHub
merge_request: 24566
author: Joseph Yu
type: other
......@@ -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]**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment