git stash 發表於 2020-01-08 | git 暫存技巧 暫存git工作區 印出目前暫存工作區 git stash list 暫存工作區 git stash Untracked 狀態的檔案預設沒辦法被 Stash,需要額外使用 -u 參數。 取出暫存工作區 取出刪除 $ git stash pop stash@{2} 取出不刪除 $ git stash apply stash@{0} (pop = apply Stash + drop Stash) 刪除暫存工作區 $ git stash drop stash@{0} Reference https://gitbook.tw/chapters/faq/stash.html https://zhuanlan.zhihu.com/p/52429552