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.沒有權(quán)限- 生成公匙
~/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.添加關(guān)聯(lián)
pod repo add Spec git@gitee.com:qiuzhongwei0519/QColor.git
5刪除
pod repo remove Spec