A Git TUI for trunk-based development workflows. Glyph gives you a branch-centric view of your repository, with shortcuts for the operations you do most: rebase on parent, create a PR, sync with upstream.
Most Git TUIs are focused on repo state — staging files, viewing diffs, browsing logs. Glyph is workflow-focused: every branch knows its parent, and every command operates relative to that parent. This makes trunk-based development and stacked branches feel natural.
dotnet tool install --global GlyphRequires .NET 10 SDK.
git clone git@github.com:Cellcote/Glyph.git
cd Glyph
dotnet build
dotnet run --project src/Glyph -- --help| Command | Description |
|---|---|
glyph |
Show the branch tree (default) |
glyph tree |
Show branch tree with parent relationships and ahead/behind counts |
glyph parent [branch] |
Get or set the parent branch for the current branch |
glyph rebase |
Fetch and rebase current branch onto its parent |
glyph pr |
Push and create a pull request into the parent branch |
glyph sync |
Fetch all remotes and rebase onto parent |
glyph stack |
Show the full branch stack from current branch to trunk |
Glyph stores parent relationships in git config:
# Set the parent of your current branch
glyph parent main
# Check the current parent
glyph parent
# → Parent of feature-x: mainThe default parent is main. When you create stacked branches, set the parent to keep the chain intact:
main → feature-auth → feature-auth-ui → feature-auth-tests
Glyph uses the GitHub CLI (gh) under the hood. Make sure it's installed and authenticated:
gh auth login
glyph pr # PR into parent branch
glyph pr --title "Add auth" # PR with custom title- System.CommandLine — CLI framework
- Spectre.Console — Terminal rendering (trees, tables, spinners)
- LibGit2Sharp — Git operations without shelling out
MIT