filhodanuvem/gitql has 6,287 GitHub stars and 159 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-05 15:53 UTC. Last push 2024-10-14.
๐ A git query language
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGitql is a Git query language.
In a repository path...

See more here
Reading the code
โ ๏ธ Gitql is my first golang project. If you are a beginner looking for using the project as a guideline (how to organise or make an idiomatic go code), I recommend you polyglot instead.
Requirements
- Go 1.16+
How to install
You can access the releases page and just grab the binary. If you want to compile itself just run go build ..
Examples
gitql "your query"
orgit ql "your query"
As an example, this is the commits table:
| commits |
|---|
| author |
| author_email |
| committer |
| committer_email |
| hash |
| date |
| message |
| full_message |
(see more tables here)
Example Commands
select hash, author, message from commits limit 3select hash, message from commits where 'hell' in full_message or 'Fuck' in full_messageselect hash, message, author_email from commits where author = 'cloudson'select date, message from commits where date < '2014-04-10'select message from commits where 'hell' in message order by date ascselect distinct author from commits where date < '2020-01-01'
Questions?
gitql or open an issue
Notes:
- Gitql doesn't want to kill
git log- it was created just for science! :sweat_smile: - It's read-only - no deleting, inserting, or updating tables or commits. :stuck_out_tongue_closed_eyes:
- The default limit is 10 rows.
- It's inspired by textql.
- Gitql is a compiler/interpreter instead of just read a sqlite database with all commits, tags, etc. because we would need to sync the tables every time before run sql and we would have sqlite bases for each repository. :neutral_face: