Git: Save Working Tree in a Temp Storage: git stash
you can save your current working dir into a temp storage.
git stash save
-
save working dir (all uncommitted changes) in a temp storage called stash, and make the working tree clean.
git stash pop
- retrieve from stash to your working dir.
git stash list
- list all your stash
for more detail, see git help stash