Origami

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

  1. In the git view's commit bar, switch Commit to Stash.
  2. Choose what goes: All, Tracked (everything but untracked files) or Staged. A message is optional and names the stash.
  3. Press Stash, or Enter.
  4. Switch the sidebar from Commits to Stashes to list them. Press one to see the files it holds and their diffs.
  5. 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.

Related