git init
创建仓库
参考下面创建公私秘钥对
Your identification has been saved in /home/xxx/.ssh/id_ed25519
Your public key has been saved in /home/xxx/.ssh/id_ed25519.pub
然后查看对应公钥,复制
cat ~/.ssh/id_ed25519.pub

点最右上角的头像进去ssh配置
然后拉取
git clone [email protected]:project_name.git