'Creating fork relationship between existing GitHub and GitLab repositories

I have a GitHub repository on LaTeX template which was originally created by using another GitLab repository. Now I like to show the connection and fork relationship between them in my GitHub repository. What would be the proper way to establish and display the relation?



Solution 1:[1]

This is not possible. What is however possible is that you add a repository mirror to GitLab (Link to docs here). Then you fork that on GitLab.

However if you need to open a PR on GitHub to the origin repository, you need to fork the repo on GitHub anyway because GitHub doesn't support creating PRs from arbitrary repositories.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 school_guy