How to grep in the git history?
- by Ortwin Gentz
I have deleted a file or some code in a file sometime in the past. Can I grep in the content (not in the commit messages)?
A very poor solution is to grep the log:
git log -p | grep
However this doesn't return the commit hash straight away. I played around with "git grep" to no avail.