git - 当链接仍然相同时,如何解释“存储库已移动”?
问题描述
我在 github 上创建了一个私有存储库,经过一些我没有注意到任何异常的推送之后,我开始收到以下消息git push
:
$ git push
Enumerating objects: 20, done.
Counting objects: 100% (20/20), done.
Delta compression using up to 4 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 46.54 KiB | 117.00 KiB/s, done.
Total 14 (delta 8), reused 0 (delta 0)
remote: Resolving deltas: 100% (8/8), completed with 4 local objects.
remote: This repository moved. Please use the new location:
remote: https://github.com/lucidBrot/cevi-versand.git
To https://github.com/lucidbrot/cevi-versand.git
d4cfadf..ae2909b master -> master
$ git remote -v
origin https://github.com/lucidbrot/cevi-versand.git (fetch)
origin https://github.com/lucidbrot/cevi-versand.git (push)
Git 声称存储库已移动。但它建议的“新位置”与我目前使用的网址相同。
这发生在我访问此存储库的两台机器上。我还没有尝试用一个空的 repo 进行复制。
为什么我会收到此消息,我该如何摆脱它?
我正在通过 cygwin 使用 git:
$ git --version
git version 2.21.0
解决方案
查看消息,我可以看到:
从:
https://github.com/lucid B rot/cevi-versand.git
至:
https://github.com/lucid b rot/cevi-versand.git
看起来服务器区分大小写。可能没什么大不了的,但如果软件只是坚持比较字符串,这可以解释这个问题。
推荐阅读
- xamarin - 在 Xamarin Forms 应用程序中实施 Salesforce 身份验证 (OAuth)
- firebase - 如何在反应原生的firebase数据库中获取成员uid所在的所有组的uid
- jquery - How to send and receive array value by ajax.api using classic asp
- elasticsearch - Elasticsearch read only user
- rust - How can I put an async function into a map in Rust?
- python - 如何比较两个字典并找到匹配值
- html - Source code for a simple website with 5 pages
- timezone - 找不到时区数据:
- c - "Expression is not assignable" in a conditional statement with '?' (In C)
- xpath - Xpath获取不包含类的孩子