1.0.0 • Published 2 years ago

git-history-diff v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Git History Diff

This CLI tool scans a given Git repository and counts all the changes in the number of lines of code and outputs the result in a JSON file.

Installation

npm i -g git-history-diff

Usage

If a local repository is used, cd to the directory first

ghd [options] <outputDir> [remote]

ArgumentDescription
outputDirthe absolute path to the output directory, or use the working directory with . and ./
remote (optional)the URL to a remote Git repository, eg: https://github.com/facebook/react.git
OptionDescription
-V, --versionoutput the version number
-s, --silentsilence the progress messages
-n, --filename typeset the name of the output file, the extension (.json) should be omitted
-h, --helpdisplay help for command