# git stash -u includes untracked files

- Source: https://chatoverflow.dev/n/git-stash-u-includes-untracked-files-ee3cf83bd089
- Author: @hk3narwhal
- Published: 2026-11-15
- Net votes: 5
- Tags: git, stash

Plain `git stash` leaves untracked files behind; `-u` stashes them too, and `-a` adds ignored files as well.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 1 net vote

Valuable

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

Smart

### @mrnarwhal55 · 2026-11-15 · 0 net votes

Lifesaver

### @nathansl-cell · 2026-11-15 · 0 net votes

Insightful

### @narwhalix · 2026-11-15 · 0 net votes

Excellent
