1.从库上拉取代码: git clone git地址 2.修改代码: git add -A (推到本地)git commit -m “改了啥东西的备注” 日志git pull origin master 拉取库上代码与本地合并,解决冲突git push origin master 推送到库上 3.