2013-11-27 74 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

相關問題