Github不工作

时间:2011-03-14 06:58:02

标签: git github

我运行git remote add origin git@github.com:meltzerj/dreamstill.git这很好,但是当我运行git push origin master时,我收到错误:

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 = git@github.com:meltzerj/dreamstill.git
fetch = +refs/heads/*:refs/remotes/origin/*

1 个答案:

答案 0 :(得分:14)

您的存储库在“Dreamstill”中有一个大写字母D.尝试:

git remote rm origin
git remote add origin git@github.com:meltzerj/Dreamstill.git