Task Shelver documentation
Task Shelver keeps one shelf per Git branch in your JetBrains IDE: it shelves uncommitted changes when you leave a branch and restores them when you come back.
Getting started
- Install the plugin from JetBrains Marketplace and open a Git project.
- Make some changes, then check out another branch. The changes move to the Shelf tab as
Task Shelver: <branch>and the checkout is clean. - Check out the first branch again. The changes come back.
What happens on a checkout
- Leaving a branch: if there are uncommitted changes, Task Shelver shelves them under the name of the branch you are leaving, then the checkout runs on a clean working tree.
- Returning to a branch: if a Task Shelver shelf exists for that branch, it is unshelved once and then removed from the list of shelves to restore.
- Other shelves: shelves you made yourself, or shelves with other names, are never touched.
Settings
Open Settings | Version Control | Task Shelver. You can turn off shelving on checkout, restoring on return, or both.
Restore a shelf by hand
Every shelf stays in the Shelf tab of the Commit tool window. Right-click a Task Shelver: <branch> shelf and choose Unshelve to apply it at any time.
Requirements
A JetBrains IDE 2024.3 or newer (IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand, Rider, CLion, RubyMine or Android Studio) with the bundled Git plugin enabled.
Questions or a problem: support.