0
点赞
收藏
分享

微信扫一扫

Git——git clone私有仓库

闲嫌咸贤 2022-12-08 阅读 94


git clone 私有项目

在clone的时候,在https://后面先加上github-username:github-password,再@项目的链接即可把项目clone下来。

git clone https://github-username:github-password@github.com/username/project.git

  • example:​​kyrle​​是我的用户名

git clone https://kyrle:abcdefg@gitee.com/kyrle/somethingyoulike.git

参考文章:

  • ​​Git clone 克隆私有项目​​


举报

相关推荐

0 条评论