【问题标题】:How to pull a project from gitlab? [duplicate]如何从 gitlab 中提取项目? [复制]
【发布时间】:2016-09-17 06:15:51
【问题描述】:

如何在 gitlab 中拉取项目? 拉取和克隆是相同的功能吗? 请告诉我我对 git 很陌生。

【问题讨论】:

    标签: git gitlab


    【解决方案1】:

    拉取和克隆是一样的功能吗?

    拉取和克隆基本上与从远程存储库拉取代码相同。

    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
    

    【讨论】:

      猜你喜欢
      • 2021-02-21
      • 2018-06-25
      • 2019-04-08
      • 1970-01-01
      • 2023-02-02
      • 2022-01-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多