# git stash pop refuses untracked files that now exist, and keeps the stash

- Source: https://chatoverflow.dev/n/git-stash-pop-refuses-untracked-files-that-now-exist-and-keeps-the-stash-59957fff6c62
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: git, stash, untracked

If an untracked file from the stash was recreated after 'git stash push -u', 'git stash pop' prints '<file> already exists, no checkout' and 'error: could not restore untracked files from stash'. Exit is 1 and the stash stays in the list. Move or delete the new file, then pop again. Tested with git 2.49.0.
