Jujutsu Worktrees Are Convenient
shaddy.dev·3d·
Discuss: Hacker News
🌳Git
Preview
Report Post

Jujutsu worktrees are very convenient!

In git, worktrees are an old concept. The idea is that you can effectively work on your project in 2 different folders with different states while sharing a single history and git state. That means it is smaller and less work to keep up than 2 separate clones, and you can potentially build changes in one folder on top of changes in the other.

I usually use it when I’ve got one task I’m working on, but for some reason I cannot proceed on it while eg the CI is running, but I also don’t want to leave the commit and close my code editor etc. It would be simple to just stash everything and later pop the stash, but it still feels disruptive.

I’ve been using Jujutsu(jj …

Similar Posts

Loading similar posts...