Last active
June 5, 2018 07:35
-
-
Save displaynone/0f841e705a3007a6d1a43c20aaaa801a to your computer and use it in GitHub Desktop.
Find error_log or console.log in files modified or added before git commit
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
grep 'error_log\|console' $(git status -s | sed 's/^\s//' | cut -d " " -f2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment