New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

git-branch-compare

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-branch-compare

CLI tool that gives information about branches in your repository.

latest
npmnpm
Version
1.1.1
Version published
Weekly downloads
10
233.33%
Maintainers
1
Weekly downloads
 
Created
Source

#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

Keywords

git

FAQs

Package last updated on 09 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts