2011-03-14 69 views
7

我跑git remote add origin [email protected]:meltzerj/dreamstill.git這是很好,但是當我運行git push origin master我得到的錯誤:Github上不工作

ERROR: meltzerj/dreamstill.git doesn't exist. Did you enter it correctly? 
fatal: The remote end hung up unexpectedly 

然而,庫確實存在:https://github.com/meltzerj/Dreamstill

回事什麼?

這裏的.git/config中的內容:

[core] 
repositoryformatversion = 0 
filemode = true 
bare = false 
logallrefupdates = true 
ignorecase = true 
[remote "origin"] 
url = [email protected]:meltzerj/dreamstill.git 
fetch = +refs/heads/*:refs/remotes/origin/* 
+0

你可以粘貼你的git配置的內容嗎?它在appdir/.git/config – corroded 2011-03-14 07:01:02

+0

yup,posted ...... – 2011-03-14 07:02:51

+0

「git remote add」命令只會將遠程倉庫添加到您的可用倉庫,而不會驗證它是否存在。首都D是問題。 – Brandon 2011-03-14 07:08:06

回答

14

你的倉庫有資本d在 「Dreamstill」。試試:

git remote rm origin 
git remote add origin [email protected]:meltzerj/Dreamstill.git 
+0

謝謝!!!!!!!!! – 2011-03-14 07:11:04