Git log => turbo mode
Today I learned that I can combine -S 'my-search' and -p in git log command. Here is an example:
git log -p -S 'create_or' app/models/*.rb
command dissecting:
-
-p=> equivalent togit difffor each commit found on log -
-S 'my-seach'=> filtering by commits that add/remove this content