https://github.com/herrmanno/git_stats
Extract changes (insertion + deletion) stats per file and author from git
https://github.com/herrmanno/git_stats
git
Last synced: 2 months ago
JSON representation
Extract changes (insertion + deletion) stats per file and author from git
- Host: GitHub
- URL: https://github.com/herrmanno/git_stats
- Owner: herrmanno
- Created: 2022-11-20T12:36:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-20T12:36:59.000Z (over 3 years ago)
- Last Synced: 2025-04-07T13:13:08.608Z (about 1 year ago)
- Topics: git
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git change stats by file and author
Extract change (insertion + deletion) stats per file and author from git.
## Usage
Requirement: `cwd` is a valid git repository.
### Arrange by author
```sh
node git_stats.js --by-author > stats.csv
```
### Arrange by file
```sh
node git_stats.js --by-file > stats.csv
```
### Customize git log used to extract stats
```sh
node git_stats.js --by-file|--by-author -- [extra-git-args]> stats.csv
```
Where `extra-git-args` gets concatenated to the underlying `git log` command verbatimly.