Skip to content

CLI tool that outputs the changes in the number of lines for each file in each commit in a Git repository

License

Notifications You must be signed in to change notification settings

adam-kov/git-history-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

Argument Description
outputDir the 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
Option Description
-V, --version output the version number
-s, --silent silence the progress messages
-n, --filename [type] set the name of the output file, the extension (.json) should be omitted
-h, --help display help for command

About

CLI tool that outputs the changes in the number of lines for each file in each commit in a Git repository

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published