Directories
¶
| Path | Synopsis |
|---|---|
|
Package agents registers the git-stack MCP server with coding-agent CLIs.
|
Package agents registers the git-stack MCP server with coding-agent CLIs. |
|
Package ai is the port for drafting commit messages, branch names and pull-request text.
|
Package ai is the port for drafting commit messages, branch names and pull-request text. |
|
claudecode
Package claudecode implements ai.Drafter with the local Claude Code CLI in headless mode (`claude -p`).
|
Package claudecode implements ai.Drafter with the local Claude Code CLI in headless mode (`claude -p`). |
|
Package app holds the use cases.
|
Package app holds the use cases. |
|
backend
|
|
|
ghstack
Package ghstack implements the stack ports on top of GitHub's gh-stack extension.
|
Package ghstack implements the stack ports on top of GitHub's gh-stack extension. |
|
Package cache stores small JSON documents, per repository under <git-common-dir>/git-stack/ or in a directory of the caller's choosing, so that commands (and completion) can render instantly from the last known state.
|
Package cache stores small JSON documents, per repository under <git-common-dir>/git-stack/ or in a directory of the caller's choosing, so that commands (and completion) can render instantly from the last known state. |
|
Package config reads git-stack settings from `git config stack.*`.
|
Package config reads git-stack settings from `git config stack.*`. |
|
Package exec runs subprocesses.
|
Package exec runs subprocesses. |
|
exectest
Package exectest provides a scripted exec.Runner for unit tests.
|
Package exectest provides a scripted exec.Runner for unit tests. |
|
Package forge is the port for pull-request operations.
|
Package forge is the port for pull-request operations. |
|
github
Package github implements forge.Forge with the gh CLI.
|
Package github implements forge.Forge with the gh CLI. |
|
Package git is a typed wrapper around the git command line.
|
Package git is a typed wrapper around the git command line. |
|
gittest
Package gittest creates isolated temporary repositories for tests.
|
Package gittest creates isolated temporary repositories for tests. |
|
Package gitconfig installs and removes the git aliases that make `git create`, `git co` and friends run git-stack.
|
Package gitconfig installs and removes the git aliases that make `git create`, `git co` and friends run git-stack. |
|
Package install sets up git aliases, shell completion (with git integration), agent MCP registration and the optional Claude Code skill, and removes exactly what it installed.
|
Package install sets up git aliases, shell completion (with git integration), agent MCP registration and the optional Claude Code skill, and removes exactly what it installed. |
|
Package mcp exposes the stack use cases as MCP tools over stdio so coding agents can drive git-stack.
|
Package mcp exposes the stack use cases as MCP tools over stdio so coding agents can drive git-stack. |
|
Package shell composes the completion scripts git-stack installs: cobra's generated script for the git-stack binary plus the hooks that make `git stack <TAB>` and git aliases such as `git co <TAB>` complete through the same engine.
|
Package shell composes the completion scripts git-stack installs: cobra's generated script for the git-stack binary plus the hooks that make `git stack <TAB>` and git aliases such as `git co <TAB>` complete through the same engine. |
|
Package stack is the domain model: stacks of branches rooted at a trunk, pure navigation over them, and the ports a backend must implement.
|
Package stack is the domain model: stacks of branches rooted at a trunk, pure navigation over them, and the ports a backend must implement. |
|
stacktest
Package stacktest provides an in-memory stack backend for tests.
|
Package stacktest provides an in-memory stack backend for tests. |
|
Package ui holds every terminal UI component: lipgloss styles, the reusable stack tree renderer and the bubbletea checkout picker.
|
Package ui holds every terminal UI component: lipgloss styles, the reusable stack tree renderer and the bubbletea checkout picker. |
|
Package update replaces the running git-stack binary with the latest GitHub release.
|
Package update replaces the running git-stack binary with the latest GitHub release. |
|
Package version works out which git-stack this binary is.
|
Package version works out which git-stack this binary is. |
Click to show internal directories.
Click to hide internal directories.