GIT:Deploy key is not allowed to push中的坑
在git
命令:
ssh-keygen -t rsa -C "邮箱地址"
C:\Users\Administrator目录下生成一个.ssh目录Id-rsa
是你的私钥,用笔记本方式打开id_rsa.pub
把里面的公钥复制到coding.net
的账户下面的SSH
公钥下
注意
:不是项目中的公钥
,如果填在项目中,就不能push
,会Deploy key is not allowed to push
,不然还真不知道自己哪里错了!
还没有评论,来说两句吧...