码云

pod repo add Spec [email protected]:qiuzhongwei0519/QColor.git

Cloning into 'Spec'...

Warning: Permanently added 'gitee.com,116.211.167.14' (ECDSA) to the list of known hosts.

[email protected]: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.


1.没有权限- 生成公匙

~/Desktop/QzwLib  cd /Users/qiuzhongwei/.ssh

~/.ssh  ls

id_rsa      id_rsa.pub  known_hosts

~/.ssh  ssh-keygen -t rsa -C "[email protected]"

2.查看公匙

cat ~/.ssh/id_rsa.pub

3.把公匙COPY到码云。等待邮件。

4.添加关联

pod repo add Spec [email protected]:qiuzhongwei0519/QColor.git

5删除

pod repo remove Spec

你可能感兴趣的:(码云)