暫存git工作區
印出目前暫存工作區
git stash list
暫存工作區
git stash
Untracked 狀態的檔案預設沒辦法被 Stash,需要額外使用 -u 參數。
取出暫存工作區
取出刪除
$ git stash pop [email protected]{2}
取出不刪除
$ git stash apply [email protected]{0}
(pop = apply Stash + drop Stash)
刪除暫存工作區
$ git stash drop [email protected]{0}