I like git stash push -u
because you can undo them all with git stash pop
.
EDIT: Also I found a way to show untracked file in a stash (e.g. git show stash@{0}^3
) https://stackoverflow.com/a/12681856/338986
EDIT2: git stash save
is deprecated in favor of push
. Thanks @script-wolf.