解决Permission to xxx denied to xxx

用ssh,不用http

设置远程地址

修改命令 
git remote set-url origin [url] 

把地址设置成ssh的

生成ssh-key

ssh-keygen -t rsa -C "XXXXXXXX"

添加到github个人配置中

猜你喜欢

转载自blog.csdn.net/qq_36602939/article/details/93743312