Last commit
app.txt
saved
Working folder
Stash (newest on top)
Edit app.txt
Create scratch.txt
git stash
git stash -u
git stash pop
git stash apply
git stash drop
$ (nothing yet)
A simulator of the real behaviour. Try: edit, create,
git stash
, and notice scratch.txt stays behind. Then try
-u
.