簡體   English   中英

試圖從 github 拉我得到錯誤遠程:找不到存儲庫

[英]Trying to pull from github i get error remote: Repository not found

我的服務器一直運行良好,直到昨天它運行良好。 今天我運行命令

>> git pull origin <branch>

我收到回復:遠程:找不到存儲庫。 我運行命令

>> ssh -T git@github.com

我得到回復:您好,您已成功通過身份驗證。 但 GitHub 不提供 shell 訪問權限。

>> I added ssh to my use and it has read and write ability

我什至在這里添加了配置文件

https://help.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port

仍然無法正常工作,如果我創建一個新的存儲庫,那將是一團糟。

有任何想法嗎? GitHub 有什么問題嗎? 為什么會發生這種情況。

如果您的 URL ( git remote -v ) 確實是 git@github.com:/

如果不是,請檢查 URL 的大小寫(區分大小寫)。

並嘗試僅用於測試的 HTTPS URL :

git ls-remote https://github.com/<you>/<yourRepo>

這將要求您提供憑據(GitHub 用戶名/密碼)

暫無
暫無

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

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