← Back to Blog

Git Stash: Save Work Without Committing

Complete guide to git stash: save, list, apply, pop, drop, stash specific files, and branch from stash.

Stash Commands

git stash                    // stash tracked changes\ngit stash -u                 // include untracked files\ngit stash push -m 'WIP auth' // with description\ngit stash list               // see all stashes\ngit stash pop                // restore + delete\ngit stash apply stash@{2}    // restore without deleting\ngit stash drop stash@{0}     // delete one\ngit stash clear              // delete all

Try It Free

Use our free online tool — 100% client-side, no data leaves your browser.

Open .gitignore Generator

Related Tools & Articles