Repository navigation
Repository Actions
Every repository in the Changes sidebar has its own row of buttons. They always act on that repository, not on the active one, so you can pull one project and commit in another without switching.

The storefront row: the branch main with its marks, Sync with 1 commit to push, Commit, Refresh and the ... button.
With several repositories the buttons sit on each repository header. With one repository they sit in the sidebar title. Repositories under No Changes have them too, without Commit. A long branch name uses all the free room up to the repository name and only shortens when it reaches it; hover the branch for its full name. When the sidebar gets narrow, the branch name hides first, then the sync counts. If not even a few letters of the repository name fit, the buttons move to a second line, so badges such as Merging stay whole.
The first button shows the branch you are on, such as main. A detached HEAD (no branch, for example after checking out a tag) is shown in italics. Marks after the name tell you what is going on:
-
*there are changes you have not staged (new files count too). -
+there are staged changes. -
!there are conflicts.
So main+* means you have both. Hover it for the meaning and the upstream it tracks. Click it to open the Branches popup for this repository.
The Sync button (two circling arrows) shows how far you are from the upstream, the server branch yours follows: 2 with a down arrow means 2 commits to pull, 1 with an up arrow 1 to push. Its tooltip says exactly what a click does, for example "Pull 2 commits from origin/main, then push 1 commit to origin/main".
A click on Sync Changes:
- pulls what the server has, if anything;
- then pushes your commits, counting again first, because the pull may have added a merge commit;
- and says what happened, for example Pulled 2 commits and pushed 1.
If the pull stops on conflicts, the sync stops there and the Conflicts dialog opens. Nothing is pushed. When you are already up to date, a click still pulls, in case the server has news since your last fetch.
A branch that was never pushed has no upstream yet. The button then shows a cloud with an up arrow, Publish Branch: it pushes the branch to origin (or the first remote when there is no origin) and makes it the upstream. The button is hidden on a detached HEAD and in a repository with no commits yet. It is greyed out while a merge or rebase is in progress.
The same Sync Changes or Publish Branch button also appears under the commit box when there is something to sync.
- Commit (the check mark) commits this repository with its message from the commit box. With no message yet, it puts the caret in the box. With nothing staged but changed tracked files, it asks Commit All first: stage all changes to tracked files and commit them. New untracked files are never committed this way; stage them first.
- Refresh reads the repository's status again (and its branches, when it is the active one).
- ... opens the menu below. Right-clicking the repository header opens it too.

The ... menu of storefront, with the Branch submenu open.
Commit
- Commit: the same as the check mark.
- Commit Staged commits only what is staged. Commit All stages every change to tracked files first.
-
Undo Last Commit takes the last commit back and keeps its changes staged (
git reset --soft, which moves the branch back one commit and leaves your files alone). You are asked first. You are also warned when the commit is already on the server, because pushing afterwards then needs a force push: a push that replaces the branch on the server. Its message comes back into an empty commit box. The very first commit cannot be undone. - Commit (Amend) amends the last commit.
Changes: Stage All Changes, Unstage All Changes and Discard All Changes (asks first).
Pull, Push
-
Pull (with the number behind) and Pull (Rebase). A plain Pull follows your git settings, such as
pull.rebase(the setting that makes every pull rebase instead of merge). -
Push (with the number ahead) and Force Push, which asks first and uses
--force-with-lease: it replaces the remote branch with yours, but refuses if someone else pushed there since your last fetch. See Remotes. - Fetch gets the branch's remote, Fetch (Prune) also removes branches deleted there, and Fetch From All Remotes fetches every remote and prunes.
Branch
- Checkout to... lists + Create Branch..., + Create Branch From..., then every branch, remote branch and tag. Type to filter.
- Create Branch... starts at HEAD. Create Branch From... asks for the starting branch, remote branch or tag.
- Rename Branch... renames the branch you are on. Delete Branch... lists the others.
- Merge Branch... and Rebase Branch... open the Merge and Rebase dialogs (see Git Dialogs).
- Publish Branch appears when the branch has no upstream.
Stash: Stash, Stash (Include Untracked), Apply Latest Stash, Pop Latest Stash, then Apply Stash..., Pop Stash... and Drop Stash... with a list to pick from, and Drop All Stashes (asks first). Shelve Changes... and Show Shelf open the Shelf. See Stashes.
Tags
- Create Tag... tags the commit you are on. Add a message to make an annotated tag (one with its own message, author and date), or leave it empty for a lightweight tag (just a name).
- Delete Tag... deletes a local tag, after asking. A copy already pushed stays on the server.
- Push Tags sends all your local tags.
Submodules and LFS follow, for submodules and Git LFS. Show Log makes the repository active and opens the Log.
Items that cannot run are greyed out: Stash, Stash (Include Untracked) and Shelve Changes with no changes, the other stash items with no stashes, Delete Tag and Push Tags with no tags, Push without a remote, Pull without an upstream, and history changes while a merge or rebase is in progress. Everything waits while another operation runs.
These pages are generated from docs/wiki. To correct something, open a pull request against the source file; edits made here are overwritten.
Using Nibtree
- Getting Started
- Welcome Screen
- Workspaces
- Files Panel
- File Operations
- File Icons
- Rounded Panels
- Editor and Tabs
- Pin Reorder and Wrap Tabs
- Single Tab Title
- Split Editor
- New File and Unsaved Changes
- Unload Hidden Tabs
- Editing Code
- Code Appearance
- Markdown Editor
- Image and PDF Preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and Replace
- Changes and Commits
- Sign In Prompts
- Commit Box Layout
- Repository Actions
- Commit Options
- Ignoring Files
- Diffs
- Inline Diffs
- Staging View
- Revert a Change
- Resolving Conflicts
- Merge Tool
- Blame
- History and Log
- Merge Commits
- Branches and Tags
- Branches Popup
- Remotes
- Stashes
- Shelf
- Git Menu
- Git Dialogs
- Interactive Rebase
- Worktrees
- AI Agents
- AI Tasks
- AI Usage
- Keep Computer Awake
- Submodules
- Git LFS
- GitHub
- Git Console
- Terminal
- Terminal Features
- Scripts
- Navigation
- Menus
- Settings
- Settings Search
- Color Themes
- Settings Terminal and Automation
- Settings Files
- Updates
- Status Bar and Help
- Notifications
- Memory Use
- Clear Cache
- MCP and CLI
- Git Mergetool
- Keyboard Shortcuts
- Keyboard Shortcuts Editor
- Troubleshooting
- Troubleshooting Git
Developers
- Developer Guide
- Architecture
- Project Layout
- Backend
- How Folder Watching Works
- Folder Watching Bugs We Fixed
- How Workspace Files Work
- How the Preview Scheme Works
- Backend Services
- How Terminal Features Work
- Terminal Bugs We Fixed
- Frontend
- How the Rich Markdown Editor Works
- Rich Markdown Bugs We Fixed
- Git Menu Links
- Menu Keys and Routing
- Frontend Modules
- Blame Bugs We Fixed
- Project Color And Title Bar
- One Diff View
- Diff Bugs We Fixed
- Merge Tool Layouts
- Merge Tool Bugs We Fixed
- Color Theme Bugs We Fixed
- How the Connected Diff Works
- Rounded Panels Bugs We Fixed
- Update Bugs We Fixed
- Status Bar Bugs We Fixed
- MCP and CLI Bugs We Fixed
- Repository Actions Bugs We Fixed
- How the Changes Tab Works
- CodeMirror Patterns
- How the Cursor Works
- How Editor Features Work
- How the Path Bar Works
- Commands and Events
- Settings Reference
- Commands Workspace and Changes
- Commands Branches and Remotes
- Commands History and Extras
- Commands App and Tools
- Testing
- Test Suites
- Debugging
- Debugging with MCP
- Measuring Setting Memory
- How Terminal Memory Is Measured
- How Markdown Diagrams Work
- Releases and CI
- Publishing the Wiki
- Versioning and Changelog
- Browser Version Packages
- Browser Release Checks
- Docker Image
- Platforms and Signing
- Windows Support
- Windows Bugs We Fixed
- Windows MCP and CLI
- Docs and Screenshots
- UI Library
- UI Library MCP
- UI Library Bugs
- UI Library Migration
- Contributing
How features work
- Welcome screen
- Workspaces and folders
- Files panel
- File operations
- File icons
- Editor and tabs
- Pin, reorder and wrap tabs
- Single tab title
- Split editor
- New File and unsaved changes
- Unload hidden tabs
- Editing code
- Code appearance
- Markdown editor
- Image and PDF preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and replace
- Changes and commits
- Sign-in prompts
- Commit box layout
- Repository actions
- Commit options
- Ignoring files
- Diffs
- Inline diffs
- Staging view
- Revert a change
- Resolving conflicts
- Merge tool
- Blame
- History and log
- Merge commits
- Commit tabs
- Branches and tags
- Branches popup
- Remotes
- Stashes
- Shelf
- Git menu
- Git dialogs
- Interactive rebase
- Worktrees
- AI agents
- AI usage
- Keep computer awake
- AI tasks
- Submodules
- Git LFS
- GitHub account
- Git Console
- Back and Forward
- Integrated terminal
- Scripts tool window
- Menu bar
- Settings
- Search in Settings
- Color themes
- Rounded panels
- Updates and release channels
- Status bar and help links
- Notifications
- Memory readout and memory log
- Clear Cache
- MCP server and command line tool
- git mergetool mode