Skip to content

Instantly share code, notes, and snippets.

@maio
Created June 20, 2013 07:59
Show Gist options
  • Save maio/5821000 to your computer and use it in GitHub Desktop.
Save maio/5821000 to your computer and use it in GitHub Desktop.
git fight
[alias]
fight = !bash -c 'echo "$0: `git grep $0 | wc -l`" && echo "$1: `git grep $1 | wc -l`"'
# Usage:
#
# $ git fight cancelled canceled
# cancelled: 664
# canceled: 19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment