Menu

I built a rust cli tool to make Jujutsu (jj) workspaces easier to switch & navigate like git branches
📰

I built a rust cli tool to make Jujutsu (jj) workspaces easier to switch & navigate like git branches

Reddit r/git·u/SreeLegend·7 months ago
#60pSUbXc
#navi#workspaces#rust#built#switch
Reading 0:00
15s threshold

howdy y'all, i posted this yesterday at rust subreddit and thought it would be a good idea to share it here too (jj only community is quite hard to find).

i've been deep in jj for a while and been experimenting with jj workspaces for parallel workflows. it's more intuitive than git worktrees but it still has a couple of gotchas that have been a hindrance to my ideal workflow.

so I built jj-navi - a tiny rust based cli that makes jj workspace orchestration a lot less pain in the ass.

interesting bits:

- `navi switch ` - creates/switchs workspaces and cds into them automatically (via shell integration)

- `navi list` - shows insertions/deletions across workspaces and also runs jj snapshot (jj doesn't automatically update other workspaces' working copy commits from disk)

- auto complete for all commands

- `navi merge` - duplicates, rebases, preserves source

check it out here at: https://github.com/eersnington/jj-navi

also, this is heavily inspired by worktrunk (still my daily driver replacement for git…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.