Hacker Newsnew | past | comments | ask | show | jobs | submit | feelamee's commentslogin

isnt jj undo the equivalent of git reflog (+ reset/checkout)?

Mostly, yes. It also covers changes to the working copy (because jj automatically snapshots changes in the working copy). It's also much easier to use, especially when many refs were updated together. But, to be fair, it's kind of hard to update many refs at once with Git in the first place (there's `git rebase --update-refs` but not much else?), so undoing multiple ref-updates is not as relevant there.

Can you explain how to do same workflow in jj? It would be nice to compare bads and goodies of git/jj

This part:

> You rebase feature-1 onto main:

feature2 moves as well. Basically, the behavior here is just the default.


Google is definitely your friend here. Plenty of tutorials online.

I think rust has a lot of slippery points too. And this number will grow with years. So, yes - rust made a lot of good choices over C++, but this does not mean it has no its own problems. Therefore I can't say Rust is simple in this sense.. But, of course, this is a good evolution step.


if Linux is a JavaScript, then what is Windows? haha


IBM VisualAge Perl++


either bash, or one of those ridiculous mainframe languages from the 1960s with impossible-to-remember names


I believe the Jargon File has a couple of lyrics about IBM and JCL, to the tune of the Mickey Mouse Club theme.


looks like you are right, but... I almost never used all of this features with bat. Maybe tail -f sometimes. Do you really need this in daily workflow?


I use the syntax highlighting of manpages, fd, ripgrep, and git pretty regularly.

I also use the fzf previewer with --range-limited pretty frequently.


fun fact: I cant select text in this website from phone.. I am use firefox nightly. Selection only works on .txt version of site


> Though I would argue the absurd amount of undefined behavior makes it not even simple by design.

What? UB is the simplest thing you can do when you just don't want to specify behavior. Any specified behavior can't be simpler that unspecified because it's just comparing nothing with something


believing that rewriting to rust will make code safe is unsafe) Of course it will be safer, but not safe. Safety is a marketing feature of rust and no more. But a lot of people really believe in it and will be zealously trying to prove that rust is safe.


can you elaborate please? Why jj is more feature complete for you than git? I tried jj and for now it looks like too raw. The problem is also its git backed. I really don't want to care about two states of repo at the same time - one is my local jj, and another is remote git repo.

I think jj just has other conceptions compared to git. E.g. in git you probably will not change history too much (if pushed to remote especially), while in jj simple editing of commits is a front feature. So, comparing them in feature completeness looks strange to me

After some experience with jj I understand that jj is a user-oriented, user friendly tool with batteries included, while git is double-edged knife which is also highly customizable


Why does no one make flat back in phones today? everyone just accepted ugly design...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: