Created
February 24, 2016 20:11
-
-
Save ksenzee/d0e34813b8246debd849 to your computer and use it in GitHub Desktop.
Bash function to exclude files named *.info from a git diff.
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
git-diff-no-info () | |
{ | |
git diff `git status -s | grep -v ^\ D | grep -v info$ | cut -b4-` | |
} |
chx
commented
Feb 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment