'clone an existing project in gitLab
First, I was working on a spring project in STS, I created a project in GitLab and commit it to GitLab. Now, I messed up, I deleted the project that existed locally. How can I clone the project existing in GitLab and create a new repository?
Solution 1:[1]
All you have to do is just typing the following command. You should have Git CLI installed.
git clone "link here"
for example,
git clone https://github.com/libgit2/libgit2
When you go to the project dashboard in GitLab, you will see the project URL. When you enter he above command, it will ask for the username of your GitLab account and the password. Once you enter them, repo will be cloned.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Imesha Sudasingha |