Git in Practice #5: Setting Work Aside with git stash

You’re in the middle of a change and need to switch branches urgently? Or you want to undo your changes, but not for good? That’s what git stash is for. What you'll learn Set work in progress aside with git stash List, restore and delete your stashes Choose between apply and pop What git stash does git stash takes your uncommitted changes (staged with git add or not), sets them aside for later, and gives you back a clean working copy, as it was at the last commit. ...

November 19, 2026 · 3 min · 596 words · Naimi