A terminal based control plane for developers working across multiple repositories. Launch multiple AI coding agents, multiple tmux sessions and track changes across all your repos in one place.
Project description
GitDirector
A terminal based control plane for developers working across multiple repositories. Launch multiple AI coding agents, multiple tmux sessions and track changes across all your repos in one place.
Why GitDirector?
If you work across more than a handful of repositories, the overhead adds up fast. Jumping between terminals to check states, pull changes, and babysit agents is friction you don't need.
GitDirector gives you a single cockpit for all of it. See every repo's status, Drop into any of them. Run AI agents in parallel, each isolated in its own tmux session, while you monitor everything from the dashboard. Less tab-switching, more shipping.
Installation
pip install gitdirector
Support
If you find GitDirector useful, please star this repository on GitHub, we need more stars to qualify for inclusion in Homebrew. Your support helps a lot, thank you!
Usage
| Command | Description |
|---|---|
gitdirector console |
Open the interactive TUI dashboard |
gitdirector link PATH [--discover] |
Link a repository or discover all under a path |
gitdirector unlink PATH|NAME [--discover] |
Unlink a repository by path, name, or all under a path |
gitdirector list |
List all tracked repositories with live status |
gitdirector status |
Show dirty repositories with staged/unstaged files |
gitdirector pull |
Pull latest changes for all tracked repositories |
gitdirector cd NAME |
Open or switch to a tmux session for a repository |
gitdirector autoclean links|sessions |
Clean broken links or stale tmux sessions |
gitdirector help |
Show help |
link
gitdirector link /path/to/repo
gitdirector link /path/to/folder --discover # recursively find and link all repos
console
gitdirector console
Opens a full interactive TUI dashboard.
Features:
- Live table with sync state, branch, changes, last commit, and active tmux sessions
/to filter repositories by name or pathsto cycle sort by any columnrto refresh all statuses- Press
enteron any repository to open an action menu:- New tmux session — create and attach a session for the repository
- Attach existing session — switch to any already-running tmux session
- Launch AI agent — open OpenCode, Claude Code, GitHub Copilot, or Codex in a new tmux session
- Remove session — kill a running tmux session
unlink
gitdirector unlink /path/to/repo # unlink by full path
gitdirector unlink my-repo # unlink by repository name
gitdirector unlink /path/to/folder --discover # unlink all repos under a path
If multiple tracked repositories share the same name, gitdirector will refuse and list the conflicting paths so you can use the full path instead.
list
Displays a live table of all tracked repositories with:
- Sync state:
up to date,ahead,behind,diverged, orunknown - Current branch
- Staged/unstaged changes
- Last commit (relative time)
- Tracked file size
- Path
Checks run concurrently (default: 10 workers).
status
Shows repositories with uncommitted changes (staged and/or unstaged files). Prints a summary of total, clean, and changed repo counts.
pull
Pulls all tracked repositories concurrently using fast-forward only (git pull --ff-only). Reports success or failure per repository.
cd
gitdirector cd my-repo
Opens a tmux session rooted at the repository directory, or switches to it if a session for that repo already exists.
- Inside tmux — switches the current client to the target session.
- Outside tmux — replaces the current process with
tmux attach-session, handing the terminal over to tmux.
Requires tmux to be installed on your system.
macOS:
brew install tmux
Debian/Ubuntu:sudo apt install tmux
Arch:sudo pacman -S tmux
Configuration
Config is stored at ~/.gitdirector/config.yaml.
repositories:
- /path/to/repo1
- /path/to/repo2
max_workers: 10 # optional, default 10
Requirements
- Python 3.9+
- Git
- tmux ≥ 3.2a (for
gitdirector cd)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitdirector-1.2.2.tar.gz.
File metadata
- Download URL: gitdirector-1.2.2.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c384e03eaffdcc14d5fcc44dc1b610cfc9a1e7456f75978736331529508c84b
|
|
| MD5 |
3e82054559f8a782949d4bad54b9138d
|
|
| BLAKE2b-256 |
4cd6bd556d0c24f2c536de4425e5ff8bf332be1d68b180d78eb25ad5f08bcc24
|
Provenance
The following attestation bundles were made for gitdirector-1.2.2.tar.gz:
Publisher:
release.yml on anitoanto/gitdirector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitdirector-1.2.2.tar.gz -
Subject digest:
4c384e03eaffdcc14d5fcc44dc1b610cfc9a1e7456f75978736331529508c84b - Sigstore transparency entry: 1294505169
- Sigstore integration time:
-
Permalink:
anitoanto/gitdirector@0a513eb7d27e8b8e755269c47c490f128794af8a -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/anitoanto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0a513eb7d27e8b8e755269c47c490f128794af8a -
Trigger Event:
push
-
Statement type:
File details
Details for the file gitdirector-1.2.2-py3-none-any.whl.
File metadata
- Download URL: gitdirector-1.2.2-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d1b779c4da7428b317ae31c4944b2302ce0a6c0ecfb00b72f9d3cad7e75637
|
|
| MD5 |
a18275ff10e439152512534d7afd2f51
|
|
| BLAKE2b-256 |
90e1337cbb995b8c2d2d23b7e71170baae5f2c6e5b244015d28e6324131a306c
|
Provenance
The following attestation bundles were made for gitdirector-1.2.2-py3-none-any.whl:
Publisher:
release.yml on anitoanto/gitdirector
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitdirector-1.2.2-py3-none-any.whl -
Subject digest:
34d1b779c4da7428b317ae31c4944b2302ce0a6c0ecfb00b72f9d3cad7e75637 - Sigstore transparency entry: 1294505245
- Sigstore integration time:
-
Permalink:
anitoanto/gitdirector@0a513eb7d27e8b8e755269c47c490f128794af8a -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/anitoanto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0a513eb7d27e8b8e755269c47c490f128794af8a -
Trigger Event:
push
-
Statement type: