我使用...(下文未给出,无法翻译)
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的指示和下面生成ssh密钥的链接,但仍然出现以下错误:
git push -u origin master ERROR: 仓库未找到。 fatal: 远程端突然挂断
我已经确定我的ssh密钥是好的,并通过尝试将id_rsa.pub中的内容添加到我的github上来验证它们是否存在(它说密钥已经存在)。 $ ssh -T git@github.com Hi darKoram!你已经成功验证,但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)已被永久添加到已知主机列表中。 Hi darKoram! 您已成功进行身份验证,但GitHub不提供shell访问
git remote -v origin git@github.com:darKoram/shpero_tracker.git (拉取) origin git@github.com:darKoram/shpero_tracker.git (推送)
但是该仓库似乎确实存在 http://www.pasteall.org/pic/show.php?id=36560