News for hackers. Stuff that matters.
Re:Ask HN: Do you ever truly use your revision history? by derwiki on Sunday March 08, 2020 @12:01PM (#22518691)
Similarly, ‘git log -S needle’ will surface all commits with ‘needle’ in the diff.
Re:Ask HN: Do you ever truly use your revision history? by taeric on Sunday March 08, 2020 @03:04PM (#22519851)
Yeah, the grep option is on the log messages. Use -G if you want the regex in the diff.