You can do this via the Repository Mirroring option in Gitlab. This allows you to mirror a repository from Github, Bitbucket, etc to Gitlab, or from Gitlab to another service.
To pull into Gitlab, first create a new project in Gitlab then go to Settings, Repository, Mirroring Repositories and set it up however you require. The full details are available in their documentation: https://docs.gitlab.com/ee/user/project/repository/repository_mirroring.html#pulling-from-a-remote-repository
Note that for now, this is a paid feature so you must have starter
/core
or above.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…