When to use shelves
- Switching context: Save work-in-progress before switching to another branch
- Experimenting: Try out changes without committing, easily revert if the experiment doesn’t work
Creating a shelf
Use the shelf button in your workspace to create a shelf.- Select the files you want to shelve in your workspace
- Click Shelve… to open the naming dialog:

- Name your shelf
- Click Create shelf
Automatic shelves
When switching branches with uncommitted changes, a popup menu will ask what to do with them.
Naming your shelf
When creating a shelf, you can:- Enter a custom name (max 60 characters)
- Click Generate name
to create a name like my_branch (2025-01-13 13:00:00)
Shelf names must be unique within your repository.
Managing shelves
Open the shelves menu from the workspace drop-down to view and manage your shelves.

