code.google.com:git:致命:遠端錯誤:找不到儲存庫

code.google.com:git:致命:遠端錯誤:找不到儲存庫

我在 中建立了一個新的儲存庫code.google.com,產生了code.google.com密碼並更新了我~/.netrc

machine code.google.com login <email-id> password <password>

根據 中的說明code.google.com,我可以clone使用以下命令存取存儲庫:

git clone https://code.google.com/p/<repository-name>/

之後,我將一些文件添加到存儲庫並執行,git add然後執行git commit.但是當我執行時卻git push origin master出現了以下錯誤

fatal: remote error: Repository not found

當用谷歌搜索這個問題時,我發現了幾個鏈接,但其中提到的解決方法似乎不起作用。任何建議將不勝感激!

更新:我已嘗試以下解決方法但不成功:

  1. 更新url.git/config採取usernamepassword
  2. 在命令中給出usernamepasswordurlgit clone
  3. 更新usernamepassword使用全域git設定命令

相關內容