【发布时间】:2012-08-14 03:13:28
【问题描述】:
我使用我的 GitHub 帐户创建了一个远程仓库 https://github.com/darKoram/sphero_tracker.git。到目前为止,它只包含一些 wiki 页面,但我已准备好上传我的代码。
我用
git push origin git@github.com:/darkoram/shpero_tracker.git
我也试过
git push origin https://github.com/darKoram/sphero_tracker.git
两次我都得到了
refspec 的远程部分不是https://github.com/darKoram/sphero_tracker.git 中的有效名称
我之前推送过没有问题。只是不知道我在这里做错了什么。
我走得更远了。按照 marshall 的说明和下面的 generation-ssh-keys 链接,但仍然得到 p>
git push -u origin master 错误:未找到存储库。 致命:远端意外挂断
我已经确定我的 ssh 密钥是好的,并通过将我的 id_rsa.pub 中的内容添加到我的 github(它说密钥已经存在)来验证它们存在于 github 上。
$ ssh -T git@github.com 嗨达科拉姆!您已成功通过身份验证,但 GitHub 不提供 shell 访问权限。
https://help.github.com/articles/generating-ssh-keys
ssh -T -p 443 git@ssh.github.com 无法确定主机'[ssh.github.com]:443 ([207.97.227.248]:443)'的真实性。 RSA 密钥指纹为 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48。 您确定要继续连接(是/否)?是的 警告:将 '[ssh.github.com]:443,[207.97.227.248]:443' (RSA) 永久添加到已知主机列表中。 嗨达科拉姆!您已成功通过身份验证,但 GitHub 不提供 shell 访问权限
git 远程 -v 来源 git@github.com:darKoram/shpero_tracker.git (fetch) 来源 git@github.com:darKoram/shpero_tracker.git(推送)
但 repo 似乎确实存在 http://www.pasteall.org/pic/show.php?id=36560
【问题讨论】:
标签: git