Skip to content

Using GitUp Stashes View

Pierre-Olivier Latour edited this page Mar 2, 2016 · 2 revisions

Overview

The "Stashes" view lets you manipulate the stashes in the Git repository. You can browse the saved stashes and see their diffs, apply and delete (aka "drop") stashes or save new ones.

Like when using the Git command line interface, if you attempt to apply a stash which would result in conflicts in the index or working directory, the operation is aborted and the working directory is left untouched.

Keyboard Shortcuts

  • Arrow up & Arrow down to select a different stash
  • Return to apply the selected stash
  • Delete to delete the selected stash
  • S to save a new stash

Tips

  • You can undo saving a stash with Cmd-Z or from the "Edit" menu
  • If you delete a stash by mistake, you can undo the deletion with Cmd-Z or from the "Edit" menu
  • You can also double-click on a stash to apply it
  • If you want to "pop" a stash à la git stash pop, since this is not a built-in action, you need to apply the stash first then delete it
  • You can resize the panes by putting your mouse over a divider and dragging
  • You can copy the name of the selected stash with Cmd-C

Known Issues and Limitations

  • As it affects the working directory and index, using undo / redo after saving a stash cannot be guaranteed to work in all cases

More Information

  • See this topic to learn more about the diff area