2015-10-16 87 views
0

我学习在Ubuntu 14.04中使用Github。致命:无法从远程存储库读取-github

现在,我创建了一个本地存储库,并希望在Github上创建一个存储库。但我无法解决这个问题。 我把本地库中的所有内容推到远程仓库:

git remote add origin [email protected]:XXX/learngit.git 
git push -u origin master 

和错误是:

Permission denied(publickey). 
Fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 

感谢。

回答

相关问题