How to run stash in Github Desktop? How to run stash in Github Desktop? git git

How to run stash in Github Desktop?


GitHub Desktop for Windows doesn't support stash. The only stash-like feature it has is that it will allow you to switch branches if you have uncommited changes. Source

Update: GitHub Desktop V2.0.0 now supports stash (Issue 6107). Now when switching branches, you'll be prompted to either leave your changes on the current branch (stash) or bring your changes over to the other branch.


I realize this question is a bit old, and Andrew is correct, but I would like to point out that GitHub Desktop does at least provide a shortcut to a command prompt via Repository>Open in Command Prompt which you can then use to execute git stash through the traditional git CLI commands. Still, frustrating that GitHub Desktop doesn't provide a clean way to do this via their GUI, forcing you to fallback to git CLI tools for stashing.

UPDATE!: Github Desktop apparently updated and can now stash by switching to another branch with uncommitted changes. You will automatically be asked if you want to leave your changes on the current branch(stash) or bring them to the other branch: enter image description here

Then when going back to the branch later, the you can restore from the stash, or discard them:enter image description here


Now, with the Github Desktop 2.0 version, Rebase, and Stash features are available. More info can be found here