Table of Contents |
---|
Set up a push mirror from GitLab to GitHub
Create a GitHub personal access token
Set up a push mirror on gitlab.eufus.psnc.pl
- Log in to gitlab.eufus.psnc.pl
- On the top bar, select Menu > Projects and find your project
On the left sidebar, select Settings > Repository
- Expand Mirroring repositories
Enter a Git repository URL
Tip Enter a Git repository URL with this format:
https://<your_github_username>@github.com/<github_group>/<github_project>.git
- For Password, enter your GitHub personal access token
Select Mirror repository
Info The mirrored repository is listed. For example:
How to synchronize with github?
- Make some code changes on GitLab and commit it
- Log in to gitlab.eufus.psnc.pl
- On the top bar, select Menu > Projects and find your project
On the left sidebar, select Settings > Repository
- Expand Mirroring repositories
And click refresh button Udpdate now
Info Such information should appear on the website:
"The remote repository is being updated..."
- Check your repository on github. Changes should be already pushed from ACH GitLab