拉取和克隆是一样的功能吗?
拉取和克隆基本上与从远程存储库中提取代码相同。
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.
Run Code Online (Sandbox Code Playgroud)
我如何在 gitlab 中拉一个项目?
您应该提供要克隆的远程存储库 url(在 http/ssh 中)。
git clone https://github.com/libgit2/libgit2
Run Code Online (Sandbox Code Playgroud)