Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miohtama/git-author-history-extractor
Extract git author information like first commit and last commit over multiple repositories
https://github.com/miohtama/git-author-history-extractor
Last synced: 11 days ago
JSON representation
Extract git author information like first commit and last commit over multiple repositories
- Host: GitHub
- URL: https://github.com/miohtama/git-author-history-extractor
- Owner: miohtama
- Created: 2020-02-20T10:38:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-20T13:39:58.000Z (almost 5 years ago)
- Last Synced: 2024-11-11T12:45:36.419Z (2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple git author data extractor.
Travels across multiple repositories of git logs to see who was working on the repositories and when.
# RequirementsPython 3.8+ required.
You need to install GitHistory package first
```bash
python -m pip install GitHistory tabulate
```Usage
-----Check out all git repositories under a single folder.
Then run:
```bash
python githistory.py path_to_repos/*
```It will
* Output info to stdout
* Write `authors.csv` as an overview of all authors
Example output
--------------The script gives you something like this:
```
All authorsName Name First commit Last commit Commit count Repos
--------------------------- ------------------------------------------ ------------------- ------------------- -------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
X Y [email protected] 2010-12-03 20:49:34 2010-12-03 20:47:15 2 repo1, another repo
Z Z [email protected] 2011-03-30 01:39:36 2011-02-03 20:55:27 42 repo1
```License
-------MIT