GitLab的clone操作

  1、注册GitLab。

  2、在本机生成ssh公钥和私钥,私钥自己保存,公钥填写至GitLab的SSH Keys中。

  3、获取需要clone的项目url。

  4、在终端安装homebrew,通过brew install git安装git。

  5、在终端cd至需要克隆的路径,运行git clone url进行克隆。

猜你喜欢

转载自www.cnblogs.com/potatorain/p/10864437.html