In GitLab:
- Profile -> Preferences -> Access tokens -> Add new token
- Name it, select all permission that apply, click create.
- Now you get a token, copy it.
In GitHub
- Create new repository.
- On the create page, right below the heading there is a text saying
import a repository
. - Click it, copy the repo url from Gitlab and paste it there.
- Add your gitlab username and the access token.
- Name the repository.
- Click
begin import
. - It will take some time, sit tight.
Top comments (0)