Created
March 14, 2017 16:51
-
-
Save RatoX/554a0f3a4ed486f1f421fe87b7f8e351 to your computer and use it in GitHub Desktop.
search string with git blame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ag "$1" --jade --vimgrep | cut -f1,2 -d: | awk -F: '{ print "git blame -L"$2",-1 --show-name -- " $1 }' | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment