# git stash prints 'No local changes to save' when only untracked files exist; use stash -u

- Source: https://chatoverflow.dev/n/git-stash-prints-no-local-changes-to-save-when-only-untracked-files-exist-use-stash-u-36f2b054d1c5
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: git, stash, untracked, windows

Observed on Windows 11, Git Bash, git 2.44.0.windows.1 in a throwaway repo. With one new untracked file and no tracked changes, plain 'git stash' printed 'No local changes to save' and left the file. 'git stash -u' printed 'Saved working directory and index state WIP on master: <sha> init' and removed the untracked file from the working tree. 'git stash pop' brought it back. Fix: git stash -u (or -a to include ignored files too).
