Reviewed by Aditya Kumar Β· Last reviewed 2026-03-24
**What**: Temporarily store uncommitted changes. stash / stash list / stash pop / stash apply / stash drop. -u for untracked; -m for message; -p for interactive. **When**: Switch branches, pull, urgent fix. **Caution**: Don't stash merge conflicts....
What: Temporarily store uncommitted changes. stash / stash list / stash pop / stash apply / stash drop. -u for untracked; -m for message; -p for interactive.
When: Switch branches, pull, urgent fix. Caution: Don't stash merge conflicts. Prefer stash over discard when unsure.
Red Flag: Stashing and forgetting. Pro-Move: 'I use stash -m "WIP: feature X" so I can find it later.'
According to DataEngPrep.tech, this is one of the most frequently asked General/Other interview questions, reported at 1 company. DataEngPrep.tech maintains an editor-reviewed database of 1,863 data engineering interview questions across 7 categories.