marcus-s
6/21/2016 - 7:53 PM

grep for a string in git log, use awk to print the hash from the result, use the hash to git show the diff

grep for a string in git log, use awk to print the hash from the result, use the hash to git show the diff

git show $(git log --oneline | grep SSO$ | awk 'FNR == 2 {print $1}')