Forking Git repository from GitHub to GitLab

前端 未结 4 531
渐次进展
渐次进展 2021-01-29 19:54

Suppose that I would like to implement a fix to a project of someone else. That project resides on GitHub.

I could create a fork on GitHub and implement the fix.

4条回答
  •  伪装坚强ぢ
    2021-01-29 20:41

    Forking a private github repository is possible.

    1. Click new project
    2. Select Import
    3. Select github
    4. OAuth2 used to authenticate and auto create gitlab app
    5. Select project to fork

    ^ I've just done this with a private repo on github, imported successfully (inc branches etc). Imported project is automatically kept private ;)

提交回复
热议问题