4 ms·
1) Are there any benefits in replacing a personal private project git repo with jj? I usually just commit straight to master in order to just not to lose the ch
by enbugger 5mo ago
1) Are there any benefits in replacing a personal private project git repo with jj? I usually just commit straight to master in order to just not to lose the changes and be able to roll back.
2) Are there any pros in doing so in a project with many large binary files (3d models, images)?
- Jenk 5mo agoYou don't replace. jj is backed by git anyway.
- gcr 5mo agoYou 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.
- Jenk 5mo agoNo 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!
- ncphillips 5mo agoOkay but why would they use jj when they do trunk-based dev
- Jenk 5mo agoI do trunk based dev. My colleagues prefer git. I still prefer to use jj.