Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nchmy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
811.
▲
by
nchmy
1y ago
Yup! And you can just do jj git init --colocate in an already-cloned repo and it'll start working immediately, seamlessly. No need to re-clone it via jj git clone --colocate
812.
▲
by
nchmy
1y ago
Haha, fantastic. Also, if you didn't discover yet, you can use the arrow keys to unfold the different files and sections. Then select what you need, split the rest to new commit. As you know, even when just using the most basic functio
813.
▲
by
nchmy
1y ago
That's fine. Carry on
814.
▲
by
nchmy
1y ago
Ok, so I'm just having trouble seeing how your situation is at all relevant to this discussion about the merits of jj. You simply have to use what you're assigned.
815.
▲
by
nchmy
1y ago
Definitely applies more to uv than jj, but jj is still immensely liberating. To the extent that people are willing to evangelize it to no gain of their own.
816.
▲
by
nchmy
1y ago
I just discovered interactive split last week. Absolutely beautiful.
817.
▲
by
nchmy
1y ago
Can you choose your own IDE? if so, you should be able to choose how you manage git locally, such as with jj.
818.
▲
by
nchmy
1y ago
Care to elaborate on the hassle and lack of upsides? Have you considered that you simply didn't give it a fair shake or were holding it wrong?
819.
▲
by
nchmy
1y ago
Try jjui. It's an amazing TUI
820.
▲
by
nchmy
1y ago
Git infrastructure works just fine with jj... And there's nothing crippled about thr git repos. Try jjui for a great TUI experience on top of jj.
821.
▲
by
nchmy
1y ago
The relevant question is, why would a stranger take time out of their life to evangelize an open source VCS tool? What other tools do people do that for? Not many. I see the most similar language and behaviour with regards to uv, which simi
822.
▲
by
nchmy
1y ago
Forget between team members - it's an issue just for my own local dev purposes, when I'm working on multiple changes/PRs at the same time and want to test them all out before they get merged to main in the origin.
823.
▲
by
nchmy
1y ago
I've started, in this thread, likening it to Plato's Cave - people who are just using git are just seeing/using a blurry facsimile/projection of actual reality/possibilities. It's not a perfect analogy (jj is,
824.
▲
by
nchmy
1y ago
You'd probably like reading about the megamerge workflow. I and others have linked some articles in a few comments here already.
825.
▲
by
nchmy
1y ago
I have a bad habit, even still, of just working in one monster commit. It took me a few months to realize that I could use jj split to move specific files to a different commit. And then I'd sometimes squash them into related commits,
826.
▲
by
nchmy
1y ago
Jj makes this effort vastly easier. Nearly frictionless.
827.
▲
by
nchmy
1y ago
You'll love jj, as you've already been able to see the the light with new tooling like uv. Jj is to git what uv is to other python tooling. Check out jjui as well, which makes jj even better. https://github.com/idu
828.
▲
by
nchmy
1y ago
There's also subcamps. Those who have tried it and 1) actually gave it a fair shake - and are now evangelize it, and 2) people who simply didn't give it a fair shake due to a) time restraints and b) just not having an open enoug
829.
▲
by
nchmy
1y ago
It's the new workflows that it enables via making existing features vastly more accessible (though there are some new features, such as merge conflicts not being a showstopper). The only thing left for me to say to folks like you who t
830.
▲
by
nchmy
1y ago
Glad to be helpful! In my mind, in some sense, every commit can simultaneously be a stash, staging area, part of a branch and more. Because you can easily create endless branches on top of, beside, before, as merges of, etc.. any commit. A
831.
▲
by
nchmy
1y ago
It's not quite clear to me what you're talking about, but I think the Megamerge workflow might be something you'd be interested in. https://v5.chriskrycho.com/journal/jujutsu-megamerges-and-jj... https:
832.
▲
by
nchmy
1y ago
The commit message is the least useful part of all of this. It is just SO EASY to move, merge, split, rebase, squash etc commits, and even just individual lines and sections from within commits (via split). And it's all even easier via
833.
▲
by
nchmy
1y ago
I don't have answers for you. But the docs are useful and people in their discord are helpful as well
834.
▲
by
nchmy
1y ago
There's lots of TUIs and even some GUIs (including a vs code extension), but the best by far is jjui https://github.com/idursun/jjui
835.
▲
by
nchmy
1y ago
But in jj you can refer to commits, changes etc by the shortest unique substring in its hash, and it automatically highlights what that is sjenfidb skeifixu These could be referred to as sj and sk. And their associated git commit hash might
836.
▲
by
nchmy
1y ago
Jj treats any public/pushed commits/branches as immutable by default.
837.
▲
by
nchmy
1y ago
There isn't really any "can't switch to another tool" when it comes to git + jj. You can use it today without anyone on your team knowing - other than that your PRs suddenly became much cleaner
838.
▲
by
nchmy
1y ago
jj itself is tooling built around git repos... It just works seamlessly with any git repo. And there's toppling built around jj, such as jjui https://github.com/idursun/jjui
839.
▲
by
nchmy
1y ago
Completely agreed. I've been evangelizing jjui even more than I do jj! And, you're right, it's powers largely come from the underlying jj - it mostly just runs jj commands behind the scenes, parses the output, and displays it
840.
▲
by
nchmy
1y ago
This x1000. Jjui is beautiful
More ›