Harry Roberts @csswizardry.com · Feb 19

Here is a handful of my favourite/most-used Git flags.

25 likes 4 replies

?

Replies

Sean Hood · Feb 19

`git log -p -S<thing>` is my fave for finding which commits mention <thing>.

scottykaye · Feb 19

Sweet share, I've only used a handful of these. I'll give the rest a try!

Ethan Gardner · Feb 19

Nice. I'll contribute this one that I use to find hot spots that change frequently and may need refactoring. git log --pretty=format: --since="1 year ago" --name-only | sort | uniq -c | sort -rg | head -50

Angelo, o Cronofóbico · Feb 19

I didn't even know there was a WORD DIFF. This might be good if someone is thinking about contribuing on docs or writing