git pull //同步远程仓库的代码 git add . //将代码保存到本地缓存区 git commit -m “提交代码备注” //将代码保存到本地git库 git push //将本地代码上传到远程仓库