gql

SQL-like language to query and analyze Git repository data

brewmacoslinux
Try with needOr install directly
Source

About

Git Query language is a SQL like language to perform queries on .git files

Commands

gql

Examples

List all commits with their authors and dates$ gql 'SELECT hash, author, date FROM commits'
Find commits by a specific author in the last 30 days$ gql 'SELECT hash, message FROM commits WHERE author = "John Doe" AND date > now() - 30*day'
Get statistics on files changed across all commits$ gql 'SELECT name, COUNT(*) as changes FROM files GROUP BY name ORDER BY changes DESC LIMIT 10'