git clone 报 “remote: The project you were looking for could not be found.”
问题:
自己的项目不止一个,帐号也不同,在clone的时候都又自动保存git的账户和密码功能,然而当clone 第二个项目的时候就会报一下错误
$ git clone https://gitlab.com/abc/abc-abc-xxx.git
Cloning into 'abc-abc-xxx'...
remote: The project you were looking for could not be found.
fatal: repository 'https://gitlab.com/abc/abc-abc-xxx.git/' not found
解决方法:
之前试了几种方案,比如把以前的帐号删除,这样比较麻烦等,都没有特别好的效果。
经过同事的交流与网上查看,发现了一个新的解决方法。
在项目前面添加用户名
git clone https://gitlab.com/abc/abc-abc-xxx.gitgit clone https://xxxx@gitlab.com/abc/abc-abc-xxx.git
xxxx 即是用户名
$ git clone https://xxxx@gitlab.com/abc/abc-abc-xxx.git
Cloning into 'abc-abc-xxx'...
Password for 'https://xxxx@gitlab.com':
remote: Enumerating objects: 5733, done.
remote: Counting objects: 100% (5733/5733), done.
remote: Compressing objects: 100% (3238/3238), done.
remote: Total 5733 (delta 2437), reused 5466 (delta 2194)
Receiving objects: 100% (5733/5733), 124.74 MiB | 449.00 KiB/s, done.
Resolving deltas: 100% (2437/2437), done.
Checking out files: 100% (2617/2617), done.
至此,代码clone完毕
git clone 报 “remote: The project you were looking for could not be found.”相关推荐
- git clone报错:Permission denied (publickey). fatal: Could not read from remote repository...
原文:git clone报错:Permission denied (publickey). fatal: Could not read from remote repository- 今天clone一 ...
- 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect
[git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...
- 【实习小tip】elementUI表格数值加减和实时计算、导出数据并解决手机号科学计数法格式问题、git clone报错:OpenSSL SSL_connect: SSL_ERROR_SYSCALL
element表格数值加减和实时计算 实现效果: 代码: <el-table :data="voListForm" border show-summary :summary- ...
- git clone报错:remote: The project you were looking for could not be found.
$ git clone http://xxx Cloning into 'xxx'... remote: The project you were looking for could not be f ...
- git clone 报“The project you were looking for could not be found.”
因为自己的项目不止一个 又有自动保存git密码的功能,当clone第二个项目的时候就报了如下错误 之前一直是找到钥匙串删除,发现有时候并没有效果.今天在网上搜了一下 发现了一个新的解决办法 在项目前面 ...
- git clone 报错:error: RPC failed; curl 18 transfer closed with outstanding read
欢迎移步我的个人博客 git clone 时候报错如下 error: RPC failed; curl 18 transfer closed with outstanding read data re ...
- 在git clone报错
在阿里云新买了一台服务器,用的原正常运行的系统做的镜像文件,但在拉代码的时候提示如下报错: [root@ap001 ]# git clone git@192.168.1.24:java/psd.git ...
- git clone 报错
使用git clone代码的时候,报错如下: admin@DESKTOP-4O5VKBO MINGW64 /e/workspace $ git clone --depth 1 git@code.al ...
- git clone报错 emote: http basic: access denied
git clone 的时候报错 $ git clone xxxxxxxxxxxxx Cloning into 'xxxxxxxxxxxxxxxxxx' remote: HTTP Basic: Acce ...
最新文章
- jQuery UI 之 LigerUI 快速入门
- LeetCode Longest Increasing Subsequence(动态规划、二分法)
- 用angr解二进制题目1
- 基于比率的路由到旧版和现代应用程序–通过Spring Cloud的Netflix Zuul
- fit_generator生成的history显示 key_error,并且没有loss 和 val_accuracy
- Bailian2811 熄灯问题【暴力】
- matlab制作科学计算器,MATLAB科学计算器设计
- 工程师笔记 | 嵌入式工程师常用软件
- 深度学习笔记----拓扑结构动态变化网络(Dropout,Drop Connect, Stochastic Depth, BranchyNet,Blockdrop,SkipNet)
- 【Java学习笔记】 MYSQL03 学习使用JDBC访问数据 以及 JDBC的优化和封装
- mysql热备工具_MySQL热备工具Xtrabackup
- Qt读写Excel--QXlsx合并单元格、文本对齐7
- node.js毕业设计安卓校园代办助手app(程序+APP+LW)
- 图片转cad用什么软件?转换有技巧
- 计算机组成原理第三章笔记---计算机功能与互联
- 计算机小知识140,电脑小知识140个小技巧(7)
- @Primary 和 @Qualifier的区别
- CTFshow web17
- 无源测向技术介绍——振幅法测向
- 微软CEO鲍尔默失策太多次 应只拿1美元年薪