git stash
git stash
保存當前工作進度。會分別對暫存區和工作區的狀態進行保存。
git stash list
顯示工作進度列表。此命令暗示了git stash可以多次保存工作進度。
gis stash pop 如果不使用參數則恢復最新保存的工作進度,從list刪除最近工作進度。
git stash apply stash@{1} 根據list中的stash 選擇恢復進度
git stash drop 刪除一個存儲的進度。默認刪除最新的
git stash clear 刪除所有存儲的進度
git stash branch “branch name” 基於進度創建分支