gx context (alias gx ctx) shows a compact summary of your current repo state: branch, tracking status, last commit, working tree, stash count, and any active operations.
Usage
What It Shows
Example Output
Active Operation Warnings
If a merge, rebase, or cherry-pick is in progress, gx shows a warning at the bottom:Details
Details
- Tracking status is shown only if the branch has an upstream configured
- The “vs main” line is hidden when you are already on the HEAD branch
- Stash count shows “empty” when there are no stash entries
- Working tree shows “clean” (in green) when there are no modifications