fatal: repository does not exist(亲测有效)

简介: fatal: repository does not exist(亲测有效)

fatal: repository does not exist(亲测有效)

记录一下今天遇到的bug

场景是这样的:不知道什么原因,我用git执行clone的时候报错:repository does not exist,几乎把所有有关的博客都看了,都没解决,然后我一个哥们儿给我来了条命令,你猜怎么着?可以了!

解决方案

那你就写成:

git clone git@github.com:apache/rocketmq-spring.git


区别就是git@github.com: 和

gitee同理:git clone git@gitee.com:xxx

终于解决了!呜呜呜~

文章简短,希望对大家有帮助!

相关文章
|
7月前
|
网络安全 开发工具 数据安全/隐私保护
Win10使用Git克隆项目出现fatal: Authentication failed for异常
Windows 10系统中使用Git克隆项目时出现"fatal: Authentication failed for"异常的解决方法,主要是通过修改凭据管理器中的Git凭据密码来解决因密码过期导致的身份验证失败问题。
171 0
Win10使用Git克隆项目出现fatal: Authentication failed for异常
|
8月前
|
监控 安全 开发工具
git fatal: detected dubious ownership in repository at ‘xxx‘ 彻底解决方法
调整文件所有权和权限后,你应该能够无误地进行Git操作。持续的维护与监控文件系统的安全性能降低将来遇到类似问题的风险,并保证团队能够高效协作。如果你是在团队环境中工作,建议建立明确的协作规则和文件管理实践,以避免此类问题。
837 3
|
9月前
|
网络协议 Linux 虚拟化
CentOS 8 错误: Error setting up base repository
CentOS 8 错误: Error setting up base repository
299 2
|
开发工具 git
fatal: unable to access ‘https://github.com/.../.git‘: Could not resolve host: github.com解决方法【亲测有效】
1.问题原因 今天在使用Github的时候突然出现了这样的报错,云里雾里,看了网上的解决办法,说是代理服务器的问题,尝试了无数遍无果 然后Ping了一下github网站,发现Ping不通:
2446 0
|
开发工具 git
部署hexo遇到报错ERROR Deployer not found: git的解决办法
部署hexo遇到报错ERROR Deployer not found: git的解决办法
729 0
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
156 0
|
开发工具 git
Git Pull Failed 解决办法
Git Pull Failed 解决办法
Git Pull Failed 解决办法
|
Android开发
INSTALL_FAILED_TEST_ONLY的解决办法
INSTALL_FAILED_TEST_ONLY的解决办法
254 0
|
开发工具 git
hexo d命令报错:ERROR Deployer not found: git
hexo d命令报错:ERROR Deployer not found: git
3296 1