to stash
- verb
- /stæʃ/
- Specialized
Examples
-
Until now, I have never wanted to stash untracked files, so whether it's useful or not depends on your workflow.
Blog text (14) -
I don't usually have the patience to tolerate horrible code, so after I was done, I just reverted everything without bothering to stash my work somewhere where I could retrieve it later.
Blog text (10) -
This can cause confusion when you end up stashing and essentially removing hidden or metadata files in your source code that weren't meant to be tracked by version control as a side effect of temporarily stashing some changes.
Blog text (14) -
Before switching branches, make sure to stash your changes so you can restore them later.
-
It's important to stash any unsaved work in your project before logging out.
-
You should always stash your modifications if you need to test something else temporarily.
Synonyms
Record data on a computer to use later
Put something in a hidden place to use later
To save a program's current work so you can continue later
Phrasal Verbs
Compounds
How Thorough
Surface Forms
Etymology
Stash in computing uses the same everyday idea of hiding something for a short time: it's like putting unfinished work in a secret box 'for later' while you switch tasks. So git's stash saves your changes temporarily so you can bring them back later.