我已经建立了论坛,但我无法将我的项目推送到 github 我已经尝试了所有方法,但仍然无法正常工作
我已经在 github 中设置了 ssh 密钥。
root@miky-Lenovo-ideapad:/opt/lampp/htdocs/discussionforum# git remote add origin [email protected]:milan2056/discussionforum.git
root@miky-Lenovo-ideapad:/opt/lampp/htdocs/discussionforum# git push -u origin master
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我需要将我的项目上传到 github
Github 确实有一些针对此错误的分类步骤,可在此处找到。鉴于错误和 url,在制作 SSH 密钥时可能未正确配置某些内容。我会确保在您的设置中显示您过去实际上使用过该 ssh 密钥。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句