Last active
September 14, 2018 18:11
-
-
Save ecedenyo/4258624af308318ba18e4b8b5527bd8d to your computer and use it in GitHub Desktop.
Cómo encontrar en la terminal los archivos confirmados desde una fecha específica que contienen una dada línea código
This file contains hidden or 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
for commitid in $(glo | grep -Eo "^\w{8}"); do | |
for filename in $(git diff-tree --no-commit-id --name-only -r $commitid); do | |
grep -HEo "this\->table.*" $filename | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment