An easy way to diff files in the terminal.
$ npm install -g git-diff-glob-cli$ git-diff-glob --help
I also put this line in my
alias gd="git-diff-glob --pager"
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 --