logoalt Hacker News

jhhhlast Wednesday at 1:33 AM1 replyview on HN

After hearing about a workflow that used absorb I wrote a simple git version I called 'squash-index' in about 15 lines of bash in a few minutes. Since git allows subcommand extension I just made an executable 'git-squash-index' and everything worked as if it was a builtin subcommand. I get that initial ergonomics are important for new tools but if the only novel feature is reified merge conflicts it doesn't really seem worth making the switch. No one needed to evangelize git to people like myself who had worked with a variety of old version control systems (cvs, svn, etc). It was just obviously much, much better. jj seems like it streamlines certain things, and might be worth learning for new users who have no git experience, but doesn't really differentiate itself enough for people who've been using git for a long time.


Replies

BeetleBlast Wednesday at 3:06 PM

How easy is it to version control the index and stash in git? Do I need to know any other commands?

With jj, it's the same as any other commit. No new commands, no new options.