Nasal Piercings Manipulator

    git-branch-compare

    1.1.1 • Public • Published

    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
    
    1. Navigate to your .git repository.
    2. Run of of the following
    $ git-branch-compare
    $ git-branch-compare --status --json-pretty
    $ git-branch-compare --status --csv
    

    Install

    npm i git-branch-compare

    DownloadsWeekly Downloads

    20

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    9.19 kB

    Total Files

    4

    Last publish

    Collaborators

    • zhabinsky