Skip to content
Vertical Tabs

Staging & Committing

Stage files, write commit messages, and push changes from the built-in diff pane.

Stage files, write a commit message, and push changes from inside the diff pane.

In commit view, each file has a checkbox. Check the files to include in the next commit. Only checked files are staged and committed.

Unchecked files stay as unstaged changes.

Hold ⇧ Shift and click to select a range of files at once.

Each file group (Changes, Unversioned Files) has a header checkbox. Click it to select or deselect all files in that group. If some files are selected the checkbox shows an indeterminate state.

Right-click any file in the diff file list and select Stage File to add it to the git staging area (git add). This works on any file, whether untracked, modified, or deleted.

To unstage a file, right-click a staged file and select Unstage File (git reset HEAD).

When multiple files are checked, right-clicking shows batch options: Stage N Files or Unstage N Files.

The text area at the bottom of the diff pane is for the commit message.

Two ways to commit:

  • Click the Commit button
  • Press ⌘ Cmd + Enter

Both commit the staged (checked) files with the current message.

Click Commit & Push to commit and push to your remote in a single action.

Toggle amend mode to modify your most recent commit. When enabled:

  • The previous commit message is restored in the text area
  • The files from that commit are pre-selected

Make changes, edit the message if needed, and commit again. Toggle amend mode off to return to a normal commit.

To discard your changes and restore a file to the last committed version:

  1. Right-click the file in the list
  2. Select Rollback Changes

A confirmation dialog appears before anything is discarded.

To remove a file from disk:

  1. Right-click the file in the list
  2. Select Delete File

A confirmation dialog appears before the file is moved to the Trash.

Right-click a file and select Copy File Path to copy its full path to the clipboard.

These keyboard shortcuts work when the file list is focused:

Action Shortcut
Navigate files Arrow Up / Arrow Down
Open selected file Enter
Toggle checkbox on selected file Space
Rollback selected file ⌘ Cmd + Z
Delete selected file ⌘ Cmd + Backspace
Add untracked file to VCS ⇧ Shift + ⌘ Cmd + S

This shortcut works when the commit message textarea is focused:

Action Shortcut
Commit staged files ⌘ Cmd + Enter