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,不然还真不知道自己哪里错了!

猜你喜欢

转载自blog.csdn.net/weixin_43674113/article/details/84138865