zl程序教程

您现在的位置是:首页 >  工具

当前栏目

Git遇到的问题

Git 遇到 问题
2023-09-27 14:22:24 时间

1.Permission denied

ubuntu@VM-0-17-ubuntu:/home/workspace/BirdDoc$ git clone git@github.com:Jackson0714/BirdDoc.git
fatal: could not create work tree dir 'BirdDoc': Permission denied

ubuntu@VM-0-17-ubuntu:/home/workspace$ sudo chmod o+w BirdDoc

 2.SSH key配置

ssh-keygen -t rsa -C "jackson0585@163.com"

cat ~/.ssh/id_rsa.pub