AI engineering glossary · Command line Git

What is stash?

Stash (also called git stash): A temporary shelf where Git stores uncommitted changes and restores a clean working tree, so you can switch tasks and bring the changes back later. It works like a small stack of saved changes.

Level: intermediateTopic: Command line Git

Stash: an example

git stash saves half-done edits, and git stash pop restores them after you fix an urgent bug on another branch.

Related terms

More Command line Git terms

Where you learn it

Stash is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.