I have created a small tool that automatically mirrors public repos from GitLab to GitHub: https://github.com/grdl/gitlab-mirror-maker
Meaning, a repo can be hosted on GL but still benefit from better exposure and disoverability of GH.
Meaning, a repo can be hosted on GL but still benefit from better exposure and disoverability of GH.
> git remote set-url --add --push origin <github-remote>
> git remote set-url --add --push origin <gitlab-remote>
This way I have an automatic backup to the second remote.
https://jigarius.com/blog/multiple-git-remote-repositories#t...
However, you can add multiple URLs to 'origin' and push to them all at once.
[1]: https://docs.gitlab.com/13.2/ee/user/project/repository/repo...