我在 中建立了一個新的儲存庫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
當用谷歌搜索這個問題時,我發現了幾個鏈接,但其中提到的解決方法似乎不起作用。任何建議將不勝感激!
更新:我已嘗試以下解決方法但不成功:
- 更新
url
要.git/config
採取username
和password
- 在命令中給出
username
和password
url
git clone
- 更新
username
並password
使用全域git
設定命令