DEV Community

Cover image for Mirroring a GitLab repository into a GitHub repository
Max White
Max White

Posted on

Mirroring a GitLab repository into a GitHub repository

Using GitLab's native "Repository Mirroring" function, we can make changes to a GitLab repository that will also be made to a GitHub repository! And of course, vice versa.

Why would I do that?

For two reasons:

  1. Due to the popularity of GitHub, there are many more integrations with it than with GitLab.

  2. Due to GitHub's popularity, your project is more likely to be found there than on GitLab.

Think of it this way, if I haven't convinced you to use both GitHub and GitLab simultaneously:

You work in the comfort of GitLab, and when you're done, your work gets sent to GitHub automatically, without you having to remember to do anything!

When your GitLab project goes to GitHub, it is more likely that it will be seen by your potential users in addition to enjoying Github integrations!

How can I do that?

It's simple! Just watch this is vídeo: Learn about GitLab Mirroring - YouTube

It's not mine, but it taught me how to use it.

Thanks for reading and a fun fact: You known the red fox likes the white wolf?

Top comments (0)