2013-11-27 76 views
0

我在IntelliJ-idea上工作在Windows 7上。 我想在我的程序的命令行上工作 - git bash, 但我得到错误 我试图做拉然后我得到这个错误git bash在Windows 7

$ git pull 
Permission denied (publickey). 
fatal: Could not read from remote repository. 
Please make sure you have the correct access rights 
and the repository exists. 

我看到Git - Permission denied (publickey) 一个解决方案,但他们不写窗口。

当我推我问了一下密码,但是当我把它写我得到一个错误

Permission denied (publickey). 
fatal: Could not read from remote repository.  
Please make sure you have the correct access rights 
and the repository exists. 

我有正确的访问,因为我可以做拉,推..从文件夹(右键单击TortoiseGit。 。)

请你帮忙 谢谢

+0

你如何设置乌龟?通过ssh或https工作? 而你如何从git bash克隆你的仓库? 你可以通过'git remote -v'命令 – Seagull

+0

查看它到目前为止所做的所有事情,我从文件夹中进行了操作(右键单击文件夹 - tortoiseGit ..)。 这就是我在做'git remote -v'时得到的结果。 '$ git remote -v origin [email protected]:applango/applango.git(fetch) origin [email protected]:applango/applango.git(push)'' – kao

回答

0

因此,应该无SSH公钥。 您必须为github生成并注册您的rsa密钥。关注官方guide

相关问题