git init
創建倉庫
參考下面創建公私秘鑰對
GitLab配置ssh key - 阿豪聊干貨 - 博客園
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 git@gitlab.gz.xxx.cn:project_name.git