So maybe I'm asking the question the wrong way, but I cannot find information on how to do this. I have a large git repository with many commits over the last two years by many people. Is there a way that anyone has ever figured out for how I query the git commit history? I am an SQL guy, so I'm used to using SQL to query a database (or even grep or find to query my filesystem).
These are example queries I'd like to run:
- All commits whose message contains the text "xyz"
- All commits whose message is LIKE '%xyz'
- All commits done by user person@company.com
- All commits that are the child of commit 1234abcd
- All commits between date 1 and date 2
- AND/OR combinations of the above
If I could even export the git log, then I could use a different tool to get most of this information (though ancestral querying/querying by branch might be difficult). Sometimes it would be nice to just go to the command line and query really quickly to try to find a commit from a while back.