pod repo add Spec git@gitee.com:qiuzhongwei0519/QColor.git
Cloning into 'Spec'...
Warning: Permanently added 'gitee.com,116.211.167.14' (ECDSA) to the list of known hosts.
git@gitee.com: 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 "512866393@qq.com"
2.查看公匙
cat ~/.ssh/id_rsa.pub
3.把公匙COPY到码云。等待邮件。
4.添加关联
pod repo add Spec git@gitee.com:qiuzhongwei0519/QColor.git
5删除
pod repo remove Spec