3 ms·
> Find every commit that added or removed some text > git log -S banana I literally spend half an hour the other day having an argument with chatGPT about h
by wodenokoto 2y ago
> Find every commit that added or removed some text
> git log -S banana
I literally spend half an hour the other day having an argument with chatGPT about how I could find versions of a file that contained a specific string. Guess I should have asked for commits and not versions of files.
- kzrdude 2y agogit log -G is much more often what I want - diff contains some text but doesn't necessarily add or remove it.