[Git] Include untracked files in a stash

Created on November 30, 2026

Use -u, short for --include-untracked, to include untracked files along with tracked changes. The following example uses git stash save.

git stash save -u

You can also use git stash push -u.

Git