git stash -u
Stash all changes including untracked files
The -u
flag is the short version of --include-untracked
. It forces git stash
to include files that are not yet part of the git index, i.e. recent files that have not been part of any commit yet.