https://github.com/objarni/linecount_history
Script to generate line count statistics for a git repository
https://github.com/objarni/linecount_history
Last synced: 5 months ago
JSON representation
Script to generate line count statistics for a git repository
- Host: GitHub
- URL: https://github.com/objarni/linecount_history
- Owner: objarni
- License: mit
- Created: 2018-06-08T14:10:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T14:16:07.000Z (almost 8 years ago)
- Last Synced: 2025-02-06T11:55:19.865Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# linecount_history
Script to generate line count statistics for a git repository
Usage
=====
$ python linestat.py --filetypes=cpp,h --output=linestat.txt
.. will write **linestat.txt** in current folder for every commit on 'master' since the first, counting the lines
in *.cpp and *.h files recursively from the current folder. The linestat.txt is formatted like this:
2018-01-01\t12:01\t500\n
Note: by cd:ing into a subfolder of the repository, you can do a primitive exclusion.