git安装克隆提示 Cloning into ‘项目’… remote: HTTP Basic: Access denied,看到这个问题,我以为这我的帐号没有分配克隆权限呢
解决问题:生成自己帐户私匙,配置到git上面
git安装克隆提示Cloninginto项目
git clone git@gitee.com:yys926/tp.git
创建用户
git config --global user.name “名称”
git config --global user.email “邮箱”
git 生成秘钥 并连接 码云
1, ssh-keygen -t rsa -C “xxxxx@xxxxx.com” 码云的邮箱
按三次回车,不用添加任何东西
2, cat ~/.ssh/id_rsa.pub
查看秘钥 并复制 到 码云上
3, ssh -T git@gitee.com
出现 (Welcome to Git@OSC, yourname!) 证明链接成功
git安装克隆提示Cloninginto项目...remote:HTTPBasic:Accessdenied
最新推荐文章于 2024-06-14 10:16:43 发布