git clone

1. 先用git config --global user.name 'username’和git config --global user.email 'xxx@xxx.com’配置一下用户名和邮箱
2. 生成ssh公钥:ssh-keygen -t rsa -C “xxxxx@xxxxx.com”,查看~/.ssh/id_rsa.pub文件内容,获取到你的public key,粘贴到GitLabssh公钥管理处

3. 使用git clone http://git.gitxxx.com/xxx.git 拉取

posted @ 2022-11-02 17:18  不懂开发的程序猿!  阅读(155)  评论(0编辑  收藏  举报