You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
521 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 配置用户名和邮箱:(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