【发布时间】:2018-02-12 14:48:26
【问题描述】:
我最近使用 Windows 安装程序更新到 git v 2.14。之后,我像往常一样继续使用我组织的私人存储库,adding 文件,committing 等。一天结束时,当我去@ 987654323@(来自 PowerShell),我收到以下错误:
> git push
remote: Repository not found.
fatal: repository 'https://github.com/<User>/<Repo>.git/' not found
导航到提到的 URL 会显示我的存储库,其中包含以前存在的所有提交。自更新以来我所做的那些尚未提交。
然后我去检查 Windows 命令提示符,收到相同的错误消息。同样的事情也发生在 Git Bash 上。
作用于本地存储库的命令(git commit、git add、git reset 等)运行良好。 需要与远程通信的其他命令产生相同的结果。像git fetch 或git clone 这样的东西会显示错误:
> git clone 'https://github.com/<User>/<Repo>.git'
Cloning into '<Repo>'...
remote: Repository not found.
fatal: repository 'https://github.com/<User>/<Repo>.git/' not found
我很确定我的帐户与组织的私有存储库的通信方式存在问题,但我找不到解决方法。
以前有人遇到过这个问题吗?有什么想法吗?
【问题讨论】:
-
可能是代理问题?
-
首先查看ping的结果>ping www.github.com
-
@AnsgarWiechers 未使用代理。
-
@Ali.Asadi 地址ping 正确。
标签: git powershell cmd