Created
September 17, 2016 20:04
-
-
Save montmanu/b26f39890e13f593dd5001d872a6f457 to your computer and use it in GitHub Desktop.
Exclude files from git diff
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
git status --porcelain | grep -v -E 'docs|lib' | awk '{print $2}' | xargs git diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment