HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nickisnoble

94 karmajoined 4 năm trước

Submissions

Pierre/trees is an open source file tree rendering library

trees.software
4 points·by nickisnoble·3 tháng trước·0 comments

comments

nickisnoble
·4 ngày trước·discuss
Searchable

Log of

All

Communication &

Knowledge
nickisnoble
·3 tháng trước·discuss
Easy: `jj log -n 25`

(Default is 10 iirc, so if you want 15 more... 25)

If you want everything, ever: `jj log -r ::`

Or every ancestor of your current change: `jj log -r ..@`
nickisnoble
·3 tháng trước·discuss
I thought the same until I started using it.

Turns out, git sorta trains you to be very, very afraid of breaking something.

jj answers this in a few ways:

1. everything is easily reversible, across multiple axes.

2. yes, everything is basically a stash, and it's a live stash — as in, I don't have to think about it because if it's in my editor, it's already safely stored as the current change. I can switch to a different one, create a new one, have an agent work on another one, etc, all without really caring about "what if I forgot to commit or stash something". Sounds like insanity from a git POV but it really is freeing.

3. Because of 2, you can just leave conflicts alone and go work on something else (because they are, like you said, essentially stashed). It's fine and actually very convenient.

The thing the article doesn't mention, that makes this all safe, is that trunk / "main" is strictly immutable. All this flexibility is *just* for unmerged WIP. (There are escape hatches though, naturally!)
nickisnoble
·6 tháng trước·discuss
http://nicknoble.works
nickisnoble
·10 tháng trước·discuss
2018 when it was just a structured editor for wikis, with basic relational databases.

(Databases was, and still are, a bit half-baked but the thing was relatively fast & powerful vs say Confluence or Apple Notes)