Below are the steps to import a repository to Gitlab
- Login to Gitlab
- Click on “Create New Project”
- Now Enter Project Name
- Select Namespace. We can give it as Global (/)
- Now click on Import existing repository?
- Now enter reposiroy url and click Create Project.
Please note the following:
For eg we can get the http url to clone hitpsher repos as
Now we need to add username (EMail ID) and password to this url for accessing the repo. Now if the credentials are as follows
Email ID: firstname.lastname@example.org Password: Netspective.geo
Then the url repository url we need to enter is as follows:
If you can clone the repo with above url then you can import repo to gitlab with out any issue.