How do i pull a project in gitlab? Does pulling and cloning are the same functions? Please tell me I am very new to git.
Asked
Active
Viewed 5.1k times
1 Answers
5
Does pulling and cloning are the same functions?
Pull and clone basically do the same thing of pulling code from the remote repository.
To download code for the first time along with the meta info about all
available branches we use clone`. Once the local clone is available,
we use pull to fetch the latest changes.
How do i pull a project in gitlab?
You should supply the remote repository url(in http/ssh) to clone.
git clone https://github.com/libgit2/libgit2

Bhargav Kumar R
- 2,190
- 3
- 22
- 38