git clone git@github.com:wwq0327/djwebapp-blog.git
Opened this issue · 3 comments
n37r06u3 commented
blog 项目生成错误
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
n37r06u3 commented
另外clone下的目录 已经有djblog 不能 django-admin.py startproject djblog
wwq0327 commented
问题一:
应该是你的git ssh-key的问题,对于别人的项目,你只能使用https:的那个链接来clone仓库的,自己的仓库,如果你配置了ssh-key,可以使用git@git..这种格式的。
问题二:
确实,有了目录之后,你就没法在生成一个路径相同的项目了,建议,你可以在HOME目录里专门弄一个临时目录来创放clone下来的内容,而你自己的内容,可以单独再放一个目录。这样不冲突也能方便阅读别人的代码。
n37r06u3 commented
我的意思是 文档里这么写 初学者会弄不明白 求qq交流