git stash和git stash pop

git stash 可用來暫存當前正在進行的工做, 好比想pull 最新代碼, 又不想加新commit, 或者另一種狀況,爲了fix 一個緊急的bug,  先stash, 使返回到本身上一個commit, 改完bug以後再stash pop, 繼續原來的工做。 基礎命令: $git stash $do some work $git stash pop 進階: git git stash save 
相關文章
相關標籤/搜索