Skip to content

Forking from GitHub to GitLab

Best Way

  1. Create a new project on GitLab and select Import project
  2. Select Import from URL and paste the GitHub URL of the project
  3. Create a new branch such as main-<company>
  4. Set this branch as the default protected branch of the repository

Track Changes Only

  1. Create and empty repository in GitLab and clone it to your machine.

... finish this off: Ref: https://stackoverflow.com/questions/50973048/forking-git-repository-from-github-to-gitlab