Re:Git commands to know just after you get the basics
by 3fe9a03ccd14ca5 on Saturday April 04, 2020 @03:05PM
(#22780627)
git bisect is the command everyone should learn. With a single command (such as a test you just wrote) you can have git do a binary search across any number of commits and find exactly when the bug occurred.
[ Parent
| on HN ]
Re:Git commands to know just after you get the basics
by 32bitkid on Saturday April 04, 2020 @04:19PM
(#22781171)
git bisect and got blame are underrated tools, that in my opinion get lost in the conversation about should-you-squash-or-not. They really have diminishing returns when you start squashing huge feature branches into a single commit.