Use stash for short context switches, name your stashes, include untracked files when needed, and clean up often.
Stash without regret
Name your stashes
git stash push -m "wip: fix login"beatsWIP on main: <hash>. You will not remember which is which.Include untracked with `-u`
git stash -usaves new files too. Without it, a new file is left behind and lost on nextgit clean -fd.Prefer `pop` over `apply`
popdeletes from the stack;applydoes not.applyaccumulates duplicated stashes you never clean.Drop old stashes
git stash clearwipes all. Review withgit stash listfirst.Prefer worktrees for long work
If you switch contexts for hours, use
git worktree addinstead of a long-lived stash.