gpt4 book ai didi

Git 推送错误 : Repository not found

转载 作者:IT王子 更新时间:2023-10-29 01:12:51 24 4
gpt4 key购买 nike

我在使用 gitgithub 时遇到了一个非常奇怪的问题。当我尝试 push 时,我得到:

git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

我添加了 Remote :

git remote add origin git@github.com:account-name/repo-name.git

有什么想法吗?

最佳答案

检查您是否具有读写权限。

Git 错误消息具有误导性。我有一个类似的问题。我已被添加到现有项目中。我克隆了它并提交了本地更改。我去推送并收到 ERROR: Repository not found. 错误消息。

将我添加到项目中的人给了我对存储库的只读访问权限。他们的改变,我能够 push 。

关于Git 推送错误 : Repository not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10116373/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com