Skip to content

Instantly share code, notes, and snippets.

@bjdixon
Created March 7, 2016 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjdixon/1858b66e942b64d3219a to your computer and use it in GitHub Desktop.
Save bjdixon/1858b66e942b64d3219a to your computer and use it in GitHub Desktop.
grep through contents of the list of files returned by git diff
git diff --name-only master | xargs cat | grep "keyword"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment