Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  1. Log in to gitlab.eufus.psnc.pl
  2. On the top bar, select Menu > Projects and find your project
  3. On the left sidebar, select Settings > Repository

  4. Expand Mirroring repositories
  5. 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


  6. For Password, enter your GitHub personal access token

  7. Select Mirror repository


    Info

    The mirrored repository is listed. For example:


How to synchronize with GitHub?

  1. Make some code changes on GitLab and commit it
  2. Log in to gitlab.eufus.psnc.pl
  3. On the top bar, select Menu > Projects and find your project
  4. On the left sidebar, select Settings > Repository

  5. Expand Mirroring repositories
  6. And click refresh button Udpdate now


    Info

    Such information should appear on the website:

    "The remote repository is being updated..."


  7. Check your repository on github. Changes should be already pushed from ACH GitLab

...