如何从gitlab中提取项目?

时间:2016-05-20 05:55:40

标签: git gitlab

如何在gitlab中提取项目? 拉取和克隆是否具有相同的功能? 请告诉我,我对git很新。

1 个答案:

答案 0 :(得分:4)

  

拉取和克隆是否具有相同的功能?

拉和克隆基本上做同样的事情从远程存储库中提取代码。

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.
  

如何在gitlab中提取项目?

您应该提供远程存储库URL(在http / ssh中)进行克隆。

git clone https://github.com/libgit2/libgit2