How To Import A GitHub Repository In GitLab
Hello Everyone
Welcome to CloudAffaire and this is Debjeet.
In the last blog post, we have discussed different features of GitHub project. We have also created a GitHub Project using API.
https://cloudaffaire.com/how-to-create-a-gitlab-project-using-api/
In this blog post, we will discuss how to import a GitHub repository in GitLab.
How To Import A GitHub Repository In GitLab.
Prerequisites:
- One GitLab account
- One GitHub repository
Step 1: Login to your GitLab account and navigate to ‘Projects’. Click on ‘New Project’.
Step 2: Click ‘Import project’ and click ‘GitHub’.
Step 3: Click ‘Authenticate with GitHub’.
Step 4: Click ‘Authorize gitlabhq’.
Step 5: Select the GitHub repository that you want to import and click ‘Import’.
Our GitHub repository successfully imported to GitLab
Hope you enjoyed this article. In the next blog post, we will discuss Issue tracking in GitLab projects.
To get more details on GitLab you can follow the below link.
https://docs.gitlab.com/ee/README.html
To Get more details on Git you can follow the below links.
https://cloudaffaire.com/category/devops/git/