我跟着在軌道上的書這個紅寶石:https://www.railstutorial.org/book/static_pages 和某些原因的一部分,當我需要這些運行命令:的Git無法推到存儲庫
$ git remote add origin [email protected]:<username>/sample_app.git
$ git push -u origin --all # pushes up the repo and its refs for the first time
我得到這個錯誤:
conq: repository does not exist.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- 我創建了到位桶名稱「sample_app」
- 存儲庫我看到這個題目:git: fatal: Could not read from remote repository但我不TH墨水是同樣的問題。
- 我試圖刪除存儲庫,並創建一個新的,也刪除該項目並創建一個新的。
- 我有IDE雲
所有的工作,我沒有工作。 有什麼建議嗎?非常感謝!
加(配置):
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:[email protected]/sample_app.git
fetch = +refs/heads/*:refs/remotes/origin/*
你初始化你的本地git回購? –
否。默認情況下,IDE雲具有它。 – user5500724
您正在使用'ssh'進行身份驗證? –