git-branch-compare
v1.1.1
Published
CLI tool that gives information about branches in your repository.
Downloads
25
Maintainers
Readme
#git-branch-compare ##is a CLI tool that gives information about branches in your repository.
$ git-branch-compare --manual
Flags: Description
------------------------------ -----------------------------------------------
--m, --manual, --manual, --man Shows all available CLI arguments
--status, --s Enables status logs
--csv Prints result in .csv format
--json Prints result in .json format
--json-pretty Prints result in .json format and prettifies it
--table Prints result in a table (Default)
#Usage example
$ npx git-branch-compare --table --status
Counting files: html, js, css, scss, json, java, groovy, xml, py, aspx, asp, php, php3, php4, php5, phtml
Counting directory .
Branch "another-branch" 1/2 contains: 503 lines of code
Branch "master" 2/2 contains: 432 lines of code
Branch codeLines commits Compared to master
-------------- --------- ------- ------------------
another-branch 503 27 Volume is 116%
master 432 26 Volume is 100%
#How to install
$ sudo npm i -g git-branch-compare
- Navigate to your .git repository.
- Run of of the following
$ git-branch-compare
$ git-branch-compare --status --json-pretty
$ git-branch-compare --status --csv