Hacker News new | ask | show | jobs
by eru 100 days ago
Slight tangent: you want to read the diff between your branch and the merge-base with origin/main. Otherwise you get lots of spurious spam in your diff, if main moved since you branched off.
1 comments

In jj this is jj diff -f ‘fork_point(trunk() | @)’. I have an alias for it.
What's jj? In Git I also have an alias for diffing against the merge-base. (It's also what GitHub gives you by default in the webview.)