Defeating Git Rigour Fatigue with Jujutsu
1–10 of 193 posts
Re: Defeating Git Rigour Fatigue with Jujutsu
#2Last time I tried jj, branches were an extremely laborious process to keep up to date. I don't see how people that aren't working alone can work with that. I have numerous branches in flight at any given time, and my colleagues do as well. The idea of manually keeping them pointed at the right commit is just nuts.
Maybe they've fixed that astonishing choice since then, and I'd give things another go if they did. But branches and worktrees are how I operate.
Regarding the article, I have no idea what is going on as I'm red-green color deficient.
Re: Defeating Git Rigour Fatigue with Jujutsu
#3Re: Defeating Git Rigour Fatigue with Jujutsu
#4Re: Defeating Git Rigour Fatigue with Jujutsu
#5Seems straightforward, wouldn’t call it special
Re: Defeating Git Rigour Fatigue with Jujutsu
#6So... git rebase -i?
Jj is not git and is not a git tool, it just (thankfully) uses git as a backend, so you can still carry on with the rest of the world.
Re: Defeating Git Rigour Fatigue with Jujutsu
#7So: Squash everything together then pick each component out by squash -i to an empty commit. Seems straightforward, wouldn’t call it special
Re: Defeating Git Rigour Fatigue with Jujutsu
#8So... git rebase -i?
Definitely not. Switch to a previous commit, make edits, changes propagate into the future commits (including into a git repo if you wish [1]) Jj is not git and is not a git tool, it just (thankfully) uses git as a backend, so you can still carry on with the rest of the world. [1] https://news.ycombinator.com/item?id=47765759
Re: Defeating Git Rigour Fatigue with Jujutsu
#9I’m pretty sure `jj absorb` (and its predecessors, `git-absorb` [0] and `hg absorb`) are smarter than this, instead looking at the actual diffs.
Re: Defeating Git Rigour Fatigue with Jujutsu
#10I don't get why people like jujutsu. I tried it for a while but I work with a quite a few people in the same repo and I need easy named branches that keep up with commits. For all the many problems in git, branches are dead easy. That was the big innovation over svn at the time. Last time I tried jj, branches were an extremely laborious process to keep up to date. I don't see how people that aren't working alone can…
Bookmarks aren’t that bad either IMO, especially with the recent addition of `jj bookmark advance`. Curious if you can say more about the particular difficulties you found keeping them up to date?