簡體   English   中英

無法推送 GitHub 錯誤:找不到存儲庫

[英]Cannot push on GitHub ERROR: Repository not found

我在 git 和 github 上遇到了一個非常奇怪的問題。 當我嘗試推動時,我得到了

git push -u origin fix-validation
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我加了遙控器

git@github.com:account-name/repo-name.git

看起來您正在通過 ssh 訪問遙控器。 確保您的 ssh 配置正常工作(您已生成密鑰對並將公鑰復制到您的 github 帳戶)。

最簡單的嘗試是將 https:// 等效項添加為遠程。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM