git status ----查看更改文件
git checkout dev -------切换分支
git checkout -b spf -------新建自己分支
git pull ---- 拉取远程分支
git reset --merge 冲突之后
进行回退
git pull origin dev -----拉取制定分支
git branch -------- 查看当前分支
git branch -D spf ----------删除本地分支
git add . -------添加修改文件
git stash --------暂存 切换
git stash apply ---------恢复
git commit -m"注释" ---------提交修改
git push -------推送远程分支
原文:https://www.cnblogs.com/shan2017/p/12005055.html