git status 查看是否本地有修改
git add -u 将暂存区代码添加至仓库
git commit -m”fix bug” 改变本地仓库指向
git pull 拿取服务器最新代码
解决冲突 冲突文件 >>>>>>>==== 冲突位置
重复 git add -u git commit -m”resolve conflict”
git push 推送本地代码至服务器仓库
删除文件
git rm 删除文件名
git commit -m”remove file”
git pull 解决冲突
git push
本地创建分支
git checkout -b dev