Join Nostr
2025-02-03 23:13:57 UTC

Jeremy Kun on Nostr: TIL this git command searches the history of a repo for a string (including the first ...

TIL this git command searches the history of a repo for a string (including the first commit that introduced the string)

git log -S <search string> --source --all

Useful for finding the origin of an error message that has moved around the codebase. h/t https://stackoverflow.com/a/5816177/438830