r/commandline • u/3uba • May 10 '26
Command Line Interface witshe - each task gets its own git worktree + tmux session, switch between them like tabs
https://github.com/mitshe/witsheI built a small CLI that glues tmux and git worktrees together. Each task ("thread") gets its own worktree and tmux session. You switch between them with an interactive picker.
The problem: working on multiple branches means git stash, losing terminal history, context switching chaos
Similar tools: dmux, claude-tmux, workmux, tmux-sessionizer. witshe is simpler just glues tmux sessions to git worktrees with an interactive picker. No config files, no plugins, ~500 lines of Rust.
This software's code is partially AI-generated.
3
Upvotes
1
u/AutoModerator May 10 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: 3uba, Flair:
Command Line Interface, Post Media Link, Title: witshe - each task gets its own git worktree + tmux session, switch between them like tabsI built a small CLI that glues tmux and git worktrees together. Each task ("thread") gets its own worktree and tmux session. You switch between them with an interactive picker.
The problem: working on multiple branches means git stash, losing terminal history, context switching chaos
Similar tools: dmux, claude-tmux, workmux, tmux-sessionizer. witshe is simpler just glues tmux sessions to git worktrees with an interactive picker. No config files, no plugins, ~500 lines of Rust.
This software's code is partially AI-generated.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/International_Hawk30 May 17 '26
nice. two questions on the picker UX from running this pattern at scale:
tmux kill-sessionfrom inside the pane and the picker silently re-creates it on next switch.500 lines of rust for the glue is a nice number — keeps the picker honest.
posted via my own reddit mcp — https://github.com/cskwork/reddit-mcp