- Stage files with
Ctrl+S (file) or Ctrl+Shift+S (all)
- Write a commit message (or use AI Generate)
- Commit with
Ctrl+Enter or Ctrl+Shift+Enter (commit & push)
| Key |
Action |
s |
Stage/unstage focused file |
S |
Stage all |
c |
Commit with message prompt |
C |
Commit & push |
- Switch:
Ctrl+B opens branch switcher with search
- Create:
Ctrl+Shift+B or click + in branch list
- Delete: Right-click branch → Delete (with confirmation)
- Rebase: Interactive rebase from log context menu
| Key |
Action |
b |
Open branch switcher |
B |
Create new branch |
Ctrl+D |
Delete branch |
Stash management is available from the sidebar Stashes section:
- Stash: Save working directory changes
- Pop: Apply and drop the latest stash
- Apply: Apply without dropping
- Drop: Discard a stash
- List: View all stashes with timestamps
| Key |
Action |
g |
Stash changes |
G |
List/pop stashes |
- Filter: Search by message, author, branch, date
- Graph: Visual commit graph with drag-and-drop reorder
- Details: Click a commit to see diff, metadata, branches/tags
- Revert: Right-click → Revert commit
- Reset: Right-click → Reset (soft/mixed/hard)
| Key |
Action |
l |
Log view |
Enter |
Show commit diff |
/ |
Search commits |
r |
Revert selected commit |
When conflicts arise during merge/rebase/pull:
- Conflict files are listed in the Conflicts panel
- Click a file to open the Merge Editor
- The editor shows three-pane layout: Base | Ours | Theirs
- Click conflict markers to resolve, save, and mark as resolved
- Continue the merge/rebase when all conflicts are resolved
Zgit tracks undo state for most operations:
- Undo Banner appears after destructive actions
- Supports undo for: commits (amend/reset), stashes, branch operations
- Each undo step shows a description of what will be undone