【发布时间】:2016-09-17 06:15:51
【问题描述】:
如何在 gitlab 中拉取项目? 拉取和克隆是相同的功能吗? 请告诉我我对 git 很陌生。
【问题讨论】:
如何在 gitlab 中拉取项目? 拉取和克隆是相同的功能吗? 请告诉我我对 git 很陌生。
【问题讨论】:
拉取和克隆是一样的功能吗?
拉取和克隆基本上与从远程存储库拉取代码相同。
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
【讨论】: