News for hackers. Stuff that matters.
Re:What is jj and why should I care? by Jenk on Tuesday April 14, 2026 @08:47AM (#47764970)
You don't replace. jj is backed by git anyway.
Re:What is jj and why should I care? by ncphillips on Tuesday April 14, 2026 @11:58AM (#47767377)
Okay but why would they use jj when they do trunk-based dev
Re:What is jj and why should I care? by Jenk on Tuesday April 14, 2026 @02:54PM (#47769769)
I do trunk based dev. My colleagues prefer git. I still prefer to use jj.
Re:What is jj and why should I care? by gcr on Tuesday April 14, 2026 @08:52AM (#47765019)
You can switch an existing git repo to jj by using:

jj git init --git-repo my-repo

I think (but CANNOT PROMISE) that just removing the .jj folder will bring you back, but definitely take a backup of .git before you try this in case I’m wrong.

Re:What is jj and why should I care? by Jenk on Tuesday April 14, 2026 @08:53AM (#47765037)
No that is correct when in colocate mode (which is the default mode). Simply removing the .jj folder will "de-jj" the repo entirely, but will leave you in a headless state. Simple to fix with a `git switch` though.

If you are _not_ in colocate mode, the .git folder is located _inside_ the .jj folder. So worth checking!