1.git环境,下载git shell(windows环境下:https://desktop.github.com/)
2.1>
ssh-keygen -t rsa -C "xxxxx@xxxxx.com"# Creates a new ssh key using the provided email # Generating public/private rsa key pair... 查看公钥2.2>
cat ~/.ssh/id_rsa.pub # ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....
3.git pull 同步代码
4.git add 添加到本地仓库
5.git commit -m "" 描述信息
6.git push 提交代码
7.git stash 储藏 保存当前的工作空间
8.git stash apply 将储藏的工作内容 重新提取