I use jj for all my projects on github! It's really useful for my sort of workflow: chains of commits with easily-editable history. If you make a change back in time, you edit the previous commit (which puts you in a state similar to git's detached head), and any edits you make there are automatically carried forward (rebased) onto descendants. It feels way more natural, especially for newer users.<p>The killer feature that I love the most is a small one, but it's that commit messages can be made ahead of time rather than after-the-fact. So I can sit down at my desk, say<p><pre><code> jj new -m "Work on XYZ feature"
</code></pre>
then edit my code in the editor. When I'm finished, I move on to the next commit:<p><pre><code> jj new -m "Working on UVW feature"
</code></pre>
No more "oh no I accidentally started touching code and forgot to commit my work, so now I have to manually split two git commits;" it's a small way that the tooling encourages you to be intentional about your engineering philosophy.
Recent and related:<p><i>I'm daily driving Jujutsu, and maybe you should too</i> - <a href="https://news.ycombinator.com/item?id=42380306">https://news.ycombinator.com/item?id=42380306</a> - Dec 2024 (47 comments)<p>Others:<p><i>Git and Jujutsu: In Miniature</i> - <a href="https://news.ycombinator.com/item?id=42111597">https://news.ycombinator.com/item?id=42111597</a> - Nov 2024 (72 comments)<p><i>Jujutsu (jj), a Git compatible VCS</i> - <a href="https://news.ycombinator.com/item?id=41895056">https://news.ycombinator.com/item?id=41895056</a> - Oct 2024 (110 comments)<p><i>Steve's Jujutsu Tutorial</i> - <a href="https://news.ycombinator.com/item?id=41881204">https://news.ycombinator.com/item?id=41881204</a> - Oct 2024 (116 comments)<p><i>Jujutsu Strategies</i> - <a href="https://news.ycombinator.com/item?id=41468750">https://news.ycombinator.com/item?id=41468750</a> - Sept 2024 (1 comment)<p><i>Jujutsu: A Next Generation Replacement for Git</i> - <a href="https://news.ycombinator.com/item?id=40908985">https://news.ycombinator.com/item?id=40908985</a> - July 2024 (80 comments)<p><i>Lazyjj: TUI for Jujutsu/Jj</i> - <a href="https://news.ycombinator.com/item?id=40859315">https://news.ycombinator.com/item?id=40859315</a> - July 2024 (1 comment)<p><i>A better merge workflow with Jujutsu</i> - <a href="https://news.ycombinator.com/item?id=40842762">https://news.ycombinator.com/item?id=40842762</a> - July 2024 (90 comments)<p><i>GG, a GUI for Jujutsu</i> - <a href="https://news.ycombinator.com/item?id=39713896">https://news.ycombinator.com/item?id=39713896</a> - March 2024 (2 comments)<p><i>jj init – getting serious about replacing Git with Jujutsu</i> - <a href="https://news.ycombinator.com/item?id=39232456">https://news.ycombinator.com/item?id=39232456</a> - Feb 2024 (110 comments)<p><i>Jujutsu: A Git-compatible DVCS that is both simple and powerful</i> - <a href="https://news.ycombinator.com/item?id=36952796">https://news.ycombinator.com/item?id=36952796</a> - Aug 2023 (261 comments)<p><i>Jujutsu: A Git-compatible DVCS that is both simple and powerful</i> - <a href="https://news.ycombinator.com/item?id=36371138">https://news.ycombinator.com/item?id=36371138</a> - June 2023 (1 comment)<p><i>Jujutsu – A Git-compatible DVCS that is both simple and powerful</i> - <a href="https://news.ycombinator.com/item?id=30398662">https://news.ycombinator.com/item?id=30398662</a> - Feb 2022 (228 comments)
What front ends work with jujutsu? Do I have to start doing all on the command line, or can I use existing clients such as Fork?<p>Kudos for the article. I have been seeing jj here and there, but this is the first that made me want to try it.
This is the first summary of Jujutsu that has made me truly want to give it a try. I had it on my radar as something to check out but never felt motivated to because it seemed like I was going to have to put a lot of effort into changing my workflow from the one with the default Git porcelain. Based on this post, it sounds very logical and I'm looking forward to trying it on a project at work.
I’m quite happy with Sapling at work. I still haven’t figured out what Jujutsu does better. I think nothing substantial? Not that Sapling can be easily used in the public sphere. But at a conceptual level I’m not sure there’s anything in JJ I’m missing.
Great article.
How do people deal with the lack of branches, esp in a full time setting where it's common to have a few independent features on the go?