Commit
The Commit tab is a detail tab that opens when you click a commit hash anywhere in Glint — from the Git Graph, file history, branch details, or reflog.
Header
The header displays:
- Commit hash (clickable — copies to clipboard)
- Commit message and full description
- Author with avatar, date, and relative time
- Local commit indicator (for unpushed commits)
- GPG signature badge (if the commit is signed)
Files Changed
Below the header, a file list shows all changed files with:
- Status icon — Added (A), Modified (M), Deleted (D), Renamed (R)
- File path
- Addition/deletion counts
- Split-diff button — opens a side-by-side diff view
Click the chevron to expand a file and see an inline unified diff with syntax highlighting. Diffs load lazily for performance.
Click a filename to open the file in the File Editor tab.
Actions
The header provides action buttons for:
- Create tag from this commit
- Open on GitHub (for GitHub-hosted commits)
- Copy hash
Context Menu
Right-click for additional operations:
- Show in Commits (navigate to this commit in the Git Graph)
- Create branch at this commit
- Cherry-pick this commit
- Reset to this commit (—soft, —mixed, or —hard)
- Copy hash
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| C | Create branch |
| X | Cherry-pick |
| R | Reset (with mode selection) |
| T | Create tag |
| Enter | Toggle first file diff |