用好Git stash,助你事半功倍
git stash:
用法:git stash list [<选项>]
或:git stash show [<选项>] []
或:git stash drop [-q|--quiet] []
或:git stash ( pop | apply ) [--index] [-q|--quiet] []
或:git stash branch <分支名> []
或:git stash clear
或:git stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
[-u|--include-untracked] [-a|--all] [-m|--message <消息>]
[--pathspec-from-file= [--pathspec-file-nul]]
[--] [<路径规格>...]]
或:git stash save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
[-u|--include-untracked] [-a|--all] [<消息>]