gt log¶
View the current stack structure.
Usage¶
Options¶
| Option | Description |
|---|---|
--short |
Short format (branch names only) |
--long |
Long format with PR status and details |
Aliases¶
gt ls- Alias forgt log --shortgt ll- Alias forgt log --long
Examples¶
Default View¶
Output:
main
└── feature/auth-models (#123 ✅)
└── feature/auth-api (#124 🔄)
└── feature/auth-ui ← you are here
Short Format¶
Output:
Long Format¶
Output:
main
│
└── feature/auth-models
│ PR #123: Add user models
│ Status: ✅ Approved, CI passing
│ +142 -23 3 files changed
│
└── feature/auth-api
│ PR #124: Add authentication API
│ Status: 🔄 Review pending
│ +89 -12 2 files changed
│
└── feature/auth-ui ← you are here
No PR submitted
+45 -0 1 file changed
Status Icons¶
| Icon | Meaning |
|---|---|
| ✅ | PR approved and ready to merge |
| 🔄 | PR open, review pending |
| ❌ | PR has requested changes |
| 🚧 | PR is a draft |
| ⏳ | CI running |
| 💥 | CI failed |