|
问题:
使用git 克隆命令时,报错:fatal: repository 'origin' does not exist 命令如下: git clone origin 原因: 注意:克隆的时候,要指定远程仓库的地址,不能使用别名,否则报错:fatal: repository 'origin' does not exist 解决方案: 使用具体的仓库地址进行克隆 1. 默认克隆远程master分支上的代码:git clone [远程仓库地址] 2. 克隆远程仓库指定分支上的代码:git clone -b [分支名] [远程仓库地址] 参考 :https://blog.csdn.net/weixin_42051619/article/details/90646579 |
|
|