Re:Julia Evans: Git rebase, what can go wrong
by gray_-_wolf on Monday November 06, 2023 @12:55PM
(#38166045)
You mean like for example `git log --first-parent`?
[ Parent
| on HN ]
Re:Julia Evans: Git rebase, what can go wrong
by nerdponx on Monday November 06, 2023 @02:03PM
(#38167159)
TIL, thank you! Now I know for a fact that squash-mergers have no excuse and can brandish the man page at them.
Re:Julia Evans: Git rebase, what can go wrong
by WorldMaker on Monday November 06, 2023 @03:16PM
(#38168324)
`--first-parent` also today works for blame and bisect.
Re:Julia Evans: Git rebase, what can go wrong
by Izkata on Monday November 06, 2023 @07:16PM
(#38171252)
People in general just have no idea how much version control is able to do. For one example try running "git help log" and just tap page-down a few (dozen) times to get an idea what's in there.
For another example, you know how people hate aligning code vertically so much that linters don't allow it nowadays, the primary reason being that if you have to change the spacing then the diffs will identify far too many lines as having changed? Both git and svn have options to ignore whitespace changes:
git diff -w
svn diff -x -w