# 配置用户名和邮箱:(Git Bash Here) $ git config --global user.name "huanghai" $ git config --global user.email "10402852@qq.com" # 生成密钥对 ssh-keygen -t rsa -b 4096 -C "10402852@qq.com" C:\Users\Administrator\.ssh\id_rsa.pub 打开id_rsa.pub,将文件内容全选复制,准备粘贴到gogs上: 帐户设置--:SSH密钥 # 克隆项目 git clone root@10.10.14.250:huanghai/dsMin.git # 参考 https://www.cnblogs.com/yangshifu/p/9919817.html git clone git@gitee.com:wanmakeji/Athena.git