Docs › Git
Stashes
Put uncommitted changes aside and bring them back later, from the git view.
Where Titlebar › Git
1 min read
How it works
- In the git view's commit bar, switch Commit to Stash.
- Choose what goes: All, Tracked (everything but untracked files) or Staged. A message is optional and names the stash.
- Press Stash, or Enter.
- Switch the sidebar from Commits to Stashes to list them. Press one to see the files it holds and their diffs.
- Right-click a stash for Pop stash, which applies it and takes it off the list, or Apply stash, which applies it and keeps it.
Good to know
- Drop stash, in the same menu, asks first and cannot be undone.
- Copy stash message is there too.
- The Stash button stays off while nothing falls in the scope you chose.