gitbash中命令
生成ssh
ssh-keygen -t rsa -C "xxxxxxx@126.com"
查看公钥
cat ~/.ssh/id_rsa.pub
查看到的公钥绑定到gitee中
最后输入
ssh -T git@gitee.com
码云上新建项目后
本地使用命令
git init
git remote add origin https://gitee.com/xxx/xxx.git
git pull origin master
git push origin master
最后一步,可以在visualstudio中先绑定源代码git后,这里提交,就不需要在gitbash中提交代码