Git stash


you can save your current working dir into a temp storage. Do this:

# save working dir (all uncommitted changes) in a temp storage
git stash save

after you do this, the working tree will be clean.
to get it back, do:

# retrieve from stash
git stash pop

To list all your stash, do:

git stash list

You May Also Like

About the Author: Pankaj Bisht