Trying out #Jujutsu 😎
So far, I like the general philosophy. I just miss the pre-commit hooks (I know about jj fix, but it’s not the same), and I still got to get my head round some stuff that break a decades-long culture of doing version control.
Trying out #Jujutsu 😎
So far, I like the general philosophy. I just miss the pre-commit hooks (I know about jj fix, but it’s not the same), and I still got to get my head round some stuff that break a decades-long culture of doing version control.
Day one impressions on #Jujutsu
🚀 Jumping in is fine and does not break git -- if you accept to live in detached HEAD off main
🚀 Working in a amend-oriented flow is simpler with jj
🚀 rebasing is a breeze
🚀 It’s fun to push branch B while editing branch A - no hassle checking out stuff
🚀 Saying goodbye to stashes is cool too
🚀 There is an emacs mode 😍
But...
💥 I find the jj log is a little messy - I know it can be cleaned
💥 Farewell pre-commit hooks
💥 Muscle memory is resilient...
@MoskitoHero Making the default “jj" command do log the way I wanted log was likely my first config change and custom template. Now I have
[ui]
default-command = ["log", "-T", "log_with_files", "--limit", "7"]
[aliases]
la = ["log", "-r", "all()"]
ll = ["log", "-r", "all()", "--limit", "15"]
lad = [ "la", "-T", "log_with_description" ]
lld = [ "ll", "-T", "log_with_description" ]
lag = [ "la", "-T", "log_for_grep" ]
and can see myself adding more in the future.
@MoskitoHero The templates I use (and the rest of my config) can be seen here:
https://gist.github.com/marchyman/d926adfa2aebb701ee1c5a47b3b221e2
I really don't know what I’m doing and mostly cut and paste from system templates making minimum modifications as desired.