码云clone提示“you do not have permission to pull from the repository”
Posted zhangling98
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了码云clone提示“you do not have permission to pull from the repository”相关的知识,希望对你有一定的参考价值。
使用git进行项目下载,换了电脑,配置了账号和邮箱后,pull一个私有项目的时候,出现如下问题:
原因分析:
由于没有设置Gitee的SSH公钥。生成公钥和配置公钥的办法,可以参考Gitee帮助里面的文章,里面做了详细的介绍https://gitee.com/help/articles/4191 。
解决办法:
1、生成SSH公钥,输入下面命令,按三次回车
ssh-keygen -t rsa -C "[email protected]"
找到对应的目录:
打开id_rsa.pub,复制里面的公钥
2、找到gitee进行配置:
3、找到项目,通过SSH下载即可;
以上是关于码云clone提示“you do not have permission to pull from the repository”的主要内容,如果未能解决你的问题,请参考以下文章
发布npm包时报错:You do not have permission to publish “package-demo“.
sharepoint 2007 You do not have permissions to open this file on Excel Services
Zabbix You do not have the SUPER privilege and binary logging is enabled
You do not have the SUPER privilege and binary logging is enabled解决方法
You do not have the SUPER privilege and binary logging is enabled解决方法
mysql报错:You do not have the SUPER privilege and binary logging is enabled