npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

git-diff-glob-cli

0.3.4 • Public • Published

git-diff-glob-cli

An easy way to diff files in the terminal.

Install

$ npm install -g git-diff-glob-cli
$ git-diff-glob --help

I also put this line in my .bash_profile

alias gd="git-diff-glob --pager"

Usage

Provide a list of substrings for files you want the diff of. git-diff-glob-cli will get the diff of all files that match the substring (case-insensitively by default) and print them to the screen.

# grab diff of all files that match 'READ', e.g. `README.md` 
$ git-diff-glob READ --case-sensitive
# grab diff of all '.html' files and output into a pager 
$ git-diff-glob --pager html

install

npm i git-diff-glob-cli

Downloadsweekly downloads

6

version

0.3.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability