小编oha*_*ana的帖子

github没有与名称相关的地址

这些天我一直遇到github的问题,我在github上创建了一个新的存储库,然后从本地机器我尝试将我的代码推送到github:

git remote add origin git@github.com:tmi/logger.git
fatal: remote origin already exists

git push origin master
ssh: github.com:uhdyi: no address associated with name
fatal: the remote end hung up unexpectedly

ssh git -v
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Fed 2007
ssh: git: no address associated with name

ssh git@github.com
Enter passphrase for key '/c/Documents and Settings/tmi/.ssh/id_rsa':
Error: HI, tmi! you've successfullly authenticated, but GitHub doesn not provide shell access
connection to github.com closed

git push origin master
ssh: github.com:uhdyi: no address associated …

git github

7
推荐指数
2
解决办法
2万
查看次数

git pull:权限被拒绝

我在桌面上创建了一个存储库并推送到github,然后将该存储库克隆到我的笔记本电脑进行开发,之后提交了更改并推送到github.现在回到我的桌面,我尝试'git pull'来获得我所做的所有更改,它显示错误消息:Permission denied(publickey)致命:远程端意外挂断.

怎么会发生这种情况?我最初从我的桌面推出存储库到github它知道遥控器,现在它抱怨权限被拒绝了吗?

git permissions version-control github

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

git ×2

github ×2

permissions ×1

version-control ×1