gitqlite - Truy vấn SQL trên Git Repo
(github.com)-
Triển khai nội dung của repo thành Virtual Table của SQLite bằng
go-git -
Có thể dùng như
gitqlite "SELECT * from commits" -
Bảng & trường:
→ 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
Chưa có bình luận nào.