tools 原文存档
码云git的使用
1,先本地安装git
`//git bash里面输入 ssh-keygen //查看公钥 cat ~/.ssh/id_rsa.pub git config --global user.name "随便名字" git config --global user.email "邮箱"`
2,在码云把得到的公钥,放到账号->设置->ssh公钥里面
3,然后在码云新建项目
`//git bash进入本地要上传的文件夹 git clone https://码云项目的地址.git // git add . git commit -m "说明" git pull git push //备注,上面不行的话用下面 //需要输入的是码云注册邮箱跟密码 git pull origin master git push origin master`