https://github.com/mcls/gitcsv
Convert git log to CSV
https://github.com/mcls/gitcsv
csv git
Last synced: 2 months ago
JSON representation
Convert git log to CSV
- Host: GitHub
- URL: https://github.com/mcls/gitcsv
- Owner: mcls
- License: mit
- Created: 2017-03-06T07:06:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T08:42:47.000Z (over 9 years ago)
- Last Synced: 2025-12-22T21:47:20.856Z (6 months ago)
- Topics: csv, git
- Language: Go
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitcsv
Store git log as CSV
## Install
```
go get github.com/mcls/gitcsv
```
## Usage
```
gitcsv path/to/git/repo/ ./git_log.csv
```
## Example
Parsing the [linux](https://github.com/torvalds/linux) kernel's git history:
```
$ gitcsv ~/Desktop/experiment/linux
2017/03/06 09:31:26 Opening repo
2017/03/06 09:31:26 Parsing each commit in history
2017/03/06 09:31:52 Done.
```
As you can see it takes less than 30 seconds to parse more than 600k commits.
## Dependencies
This uses [git2go](https://github.com/libgit2/git2go), so it depends on [libgit2](https://libgit2.github.com/).
To install with Homebrew run `brew install libgit2`.