想看到最近一次提交所有更改过的文件
对应命令: git log -n 1 --stat
git stash 命令
git stash
git checkout mater
git merge branch
git add .
git commit -m 'last'
git checkout branch
git stash list // 查看已经存储的工作现场
git stash pop // 回到工作现场
删除本地分支和远端分支
git branch -a // 查看已有的本地及远程分支
git branch -d mybranch // 删除本地分支,若分支有修改还未合并,会提示你还没合并。
git branch -D mybranch //强行删除本地分支
git push origin :mybranch //相当于删除该分支。