我正在尝试使用http://danielmiessler.com/study/git/#website设置git 来管理我的网站。
我已经到达指示的最后一步:git push website + master:refs / heads / master
我正在使用Win7中的git ming32命令行
$ git push website +master:refs/heads/master
Bill@***.com's password:
Connection closed by 198.91.80.3
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
这里的一个问题可能是该程序正在寻找Bill@***.com。当我通过ssh连接到我的网站时,我使用了另一个用户名(可以说'abc')。所以也许应该是abc@***.com。如果是这样,我不知道该如何更改,或者我是否可以使用别名进行推送
.git/config文件,看看一切正常。它对我来说有错误的set-url和origin值。

