Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
$ wt list
[1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m
@ main [2m^[22m[2m|[22m [2m|[0m [2m2bdcf67[0m [2m1d[0m
+ hooks [36m+[39m[36m![39m [2m↑[22m [32m+25[0m [32m↑1[0m [32m+12[0m [31m-7[0m [2m411beae[0m [2m2h[0m
+ alpha [36m![39m[36m?[39m [2m↑[22m[2m⇡[22m [32m+106[0m [31m-14[0m [32m↑5[0m [32m+264[0m [31m-3[0m [32m⇡1[0m [2m94a16dc[0m [2m3d[0m
+ beta [36m+[39m [2m↓[22m[2m|[22m [32m+2[0m [2m[31m↓1[0m [2m|[0m [2mad21d97[0m [2m5d[0m
[2m○[22m [2mShowing 4 worktrees, 3 with changes, 2 ahead, hidden: Path, Message[0m
[0m
$ wt switch --create notes
[32m✓[39m [32mCreated branch [1mnotes[22m from [1mmain[22m and worktree @ [1m~/w/acme.notes[22m[39m
[0m
$ wt merge
[36m◎[39m [36mRunning pre-merge [1mproject:test[22m[39m
[107m [0m [2m[0m[2m[34mcargo[0m[2m nextest run[0m
[0m Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
Starting 2 tests across 1 binary
PASS [ 0.001s] acme::tests::test_add
PASS [ 0.001s] acme::tests::test_add_zeros
------------
Summary [ 0.002s] 2 tests run: 2 passed, 0 skipped
[2m○[22m Already up to date with [1mmain[22m (no new commits, no rebase needed)
[36m◎[39m [36mRemoving [1mnotes[22m worktree & branch in background (same commit as [1mmain[22m,[39m [2m_[22m[36m)[39m
[2m○[22m Switched to worktree for [1mmain[22m @ [1m~/w/acme[22m
[0m
$ wt list --branches --full
[1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m
@ main [2m^[22m[2m|[22m [2m|[0m [32m#[0m [2m2bdcf67[0m
+ hooks [36m+[39m[36m![39m [2m↑[22m [32m+25[0m [32m↑1[0m [32m+12[0m [31m-7[0m [2m411beae[0m
+ alpha [36m![39m[36m?[39m [2m↑[22m[2m⇡[22m [32m+106[0m [31m-14[0m [32m↑5[0m [32m+264[0m [31m-3[0m [32m⇡1[0m [2m[32m#1[0m [2m94a16dc[0m
+ beta [36m+[39m [2m↓[22m[2m|[22m [32m+2[0m [2m[31m↓1[0m [2m|[0m [34m#2[0m [2mad21d97[0m
[2m/ [0m[2mdocs/readme[0m [2m/[22m[2m⊂[22m [2m[31m↓1[0m [2mad21d97[0m
[2m/ [0m[2mspike/search[0m [2m/[22m[2m⊂[22m [2m[31m↓1[0m [2mad21d97[0m
[2m○[22m [2mShowing 4 worktrees, 2 branches, 3 with changes, 2 ahead, hidden: Summary,
Path, Age, Message[0m
[0m[0m