linux 配置gitee仓库
1、设置账号
git config --global user.name "name"
2、设置邮箱
git config --global user.email "email"
3、生成秘钥
ssh-****** -t rsa -C "[email protected]"
4、查看公钥
cat ~/.ssh/id_rsa.pub
5、复制公钥到码云
6、测试是否通
ssh -T [email protected]
Are you sure you want to continue connecting (yes/no)? 输入yes
然后得到 welcome to gitee.com ,xxx!说明成功
7、下载代码
git clone
8、遇到每次git pull都要输入账号密码的问题
在git 项目目录执行,执行一下
git config --global credential.helper store