Skip to content

Instantly share code, notes, and snippets.

@ferhatelmas
Created October 25, 2018 22:00
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 ferhatelmas/887af4641dabe2b26542793dc7302345 to your computer and use it in GitHub Desktop.
Save ferhatelmas/887af4641dabe2b26542793dc7302345 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
for file in $(git ls-files); do
echo ">>>>>$file"
git blame $file | grep "$1"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment