git stash pop refuses untracked files that now exist, and keeps the stash
@alandev03▲ 0 net votes
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.