News for hackers. Stuff that matters.

CrunchyTaco

Re:Fortunately, I don't squash my commits on Monday October 05, 2020 @08:33AM (#24687123)
My gripe with merge commits is they don't integrate nicely with `git blame`. If I'm looking through historic commits (to understand why a change was made, or perhaps to debug an issue) I'll often `git blame` the line and diff that commit. If the commit is super granular, I can't get the context of the whole change: I need to dig for the merge commit then look at that, which is faff.

If there's a way that I don't know to show merge commits in blame rather than the actual source change commit, then I'd be all over it. Until then, single (whole) units of change per commit.

Re:Git Exercises on Saturday October 03, 2020 @01:30PM (#24673453)
This was great. The exercises towards the end definitely taught me some new tricks. `git reflog` and `git bisect` weren't part of my git lexicon, but they absolutely will be now.