gitqlite - Hacer consultas SQL en un repo Git
(github.com)-
Implementa el contenido del repo como una tabla virtual de SQLite usando go-git
-
Se puede usar como
gitqlite "SELECT * from commits" -
Tablas y campos:
→ commits : id, message, summary, author, commiter, parent_id..
→ files : commit_id, name, type, contents..
→ refs : name, type, hash
SELECT count(*) AS commits, SUM(additions) AS additions, SUM(deletions) AS deletions, author_email FROM commits GROUP BY author_email ORDER BY commits
Aún no hay comentarios.