Every developer has had this experience. You’re knee-deep in a feature branch, you’re working through code that isn’t compiling, and you get the dreaded Teams message, “Something is broken in prod…” You’ve got a bunch of uncommitted changes, and for just a brief second, you panic. You can’t just keep the code changes uncommitted. You also don’t want to commit broken code.
Welcome to the two buttons in GitKraken that I call the escape hatch, Stash and Pop

What is Git Stash, Really?
Think of Git Stash as a desk drawer that you shove all of your half-finished work into just before some new clients walk in the door.
What Git Stash actually does under the hood is temporarily shelve uncommitted (both staged and unstaged) changes so your working directory stays clean. You can create a brand-new working directory for your hotfix.
Why Context Switching is the Real Enemy
We’ve all dealt with various degrees of context switching or cognitive load. The kind that forces us to juggle two (or more) tasks at once mentally. Usually, both will suffer. Stash is not just a technical tool; it lets your brain fully commit to one thing at a time, because a hotfix that needs to go to production as soon as possible generally needs our full attention.
Where GitKraken Changes the Experience
In the Git CLI, stash is very functional, but entirely text-based. Some of the core commands are:

The CLI is obviously very powerful, but there are genuine friction points, especially when you’re under the stress of a hotfix. You have to remember the stash@{n} index, you can’t easily see what’s inside a stash without an extra command, and if you have several stashes piling up (because THAT’S never happened), managing them means running git stash list all the time just to reorient yourself.
In GitKraken, all of this is surfaced visually.

- A Stash button sits in the top toolbar where one-click captures everything
- A Pop button sites right next to it for instant one-click restore and remove

- Every stash appears as another node in the Commit Graph, so it’s easy to see and remember when that stash was created and what branch it came from

- All stashes are listed in the Left Panel under a dedicated Stashes section, so no
git stash listrequired

- Right-clicking any stash gives you a full context menu (a future short article about Share stash as Cloud Patch is coming)

- GitKraken even supports partial stashes. You can right-click individual files and stash only that change, then apply them back one file at a time, something that requires more complex combinations in the CLI
The Git CLI gives you complete control but demands that you hold a lot of state in your head. GitKraken shows you quickly and easily, all of the state in the UI, reducing your context shifting and making these changes, something you see rather than remember.
The CLI doesn’t hide anything from you; it just doesn’t show anything to you either.
Pro Tips for Stash Power Users
- Name your stashes:
stash@{3}means nothing three days later. A name like “auth-refactor-half-done” does. Also, starting with GitKraken version 11.1, you can ask AI to auto-create your stash messages! - Use partial stashes: when only part of your work needs to move. Stashing everything when only one file is relevant, is overkill
- Apply, don’t always pop: if you’re unsure whether the stash will happen cleanly, use Apply first so you can still have the stash as a fallback (remember Pop applies and removes the stash, whereas Apply does not remove the stash)
- Hide stashes from the commit graph: if you’re like me and want your commit graph as clean as possible, hide them. It’s still there, just not in the graph
Stash and pop won’t fully protect your flow state; nothing can. But they remove one of the most common reasons developers either lose work or leave a trail of WIP commits they’ll have to clean up later (you DO clean these up…right?). In GitKraken, the whole process takes about 3 seconds.






