// 查看当前分支状态
git status
// 比较commit信息
git diff HEAD~1
git log / git show 查看信息
// git stash 保存 查看 恢复
-- git stash show/apply/pop stash@{0} (0开始)
git stash save "is stash"
git stash list
git stash show
git stash show -p
git stash apply
git stash pop
-- 尽量别用
// 丢弃 stash
git stash drop
// 清除所有 stash
git stash clear