- Notifications
You must be signed in to change notification settings - Fork163
filhodanuvem/gitql
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Gitql is a Git query language.
In a repository path...
See morehere
- Go 1.16+
You can access thereleases page and just grab the binary. If you want to compile itself just rungo build ..
gitql "your query"
orgit ql "your query"
As an example, this is thecommits table:
| commits |
|---|
| author |
| author_email |
| committer |
| committer_email |
| hash |
| date |
| message |
| full_message |
(see more tableshere)
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'
gitql or open anissue
Notes:
- Gitql doesn't want tokill
git log- it was created just for science! 😅 - It's read-only - no deleting, inserting, or updating tables or commits. 😝
- The default limit is 10 rows.
- It's inspired bytextql.
- 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. 😐
About
💊 A git query language
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
