Hacker News new | ask | show | jobs
by AlexCoventry 2439 days ago
How do you surface them when you need them, though? git grep?
2 comments

Git greps work if you're trying to search all the logs. I would think this detailed documentation would be most important when you're trying to understand a specific file or line of code. In that case, it's:

- git blame (who wrote this?)

- git show (look at the commit surfaced by blame)

Sure? Or 'git log', then use the pager to search, or pipe into something with better fuzzy search, etc?