logoalt Hacker News

throawayontheyesterday at 12:19 PM1 replyview on HN

well, you can do jj new <revision>, make your edit, and then do jj squash which will add the changes to the prev revision

i do this for example when i want to see a specific edit highlighted in my editor, it's a nice workflow i think


Replies

Aeolunyesterday at 12:39 PM

This is exactly how someone explained Git to me 12 years ago or so, and I’ve finally wrapped my head around it. Not changing now.

show 2 replies