Skip to main content
to stash

to stash

2 6.1
To save unfinished code changes temporarily so you can switch branches and restore them later
  • verb
  • /stæʃ/
  • Specialized
translation icon : guardar temporalmente

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

to save
vsto stash
  • Specialized
211 1.3

Record data on a computer to use later

is a temporary workspace store for switching contexts and restoring changes
to stash away
vsto stash
  • Informal
13 4.9

Put something in a hidden place to use later

is a temporary technical save for switching contexts rather than secret storage
to checkpoint
vsto stash
  • Specialized
4.4

To save a program's current work so you can continue later

is a temporary save used to switch contexts and restore changes later

Phrasal Verbs

to stash away
  • Informal
13 4.9

Put something in a hidden place to use later

Compounds

10 8.9

A house where people hide drugs or weapons to avoid being caught

stash of booze
  • Informal
7.9

A hidden supply of alcohol someone keeps for later use

How Thorough

backup
  • Specialized
114 2.1
snapshot
  • Specialized
22 3.9
save-all
1 4.4
to save
  • Specialized
211 1.3
to stash
  • Specialized
2 6.1

Surface Forms

stash infinitive
stashed past
stashed past participle
stashing present participle
stashes third person singular

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.