Created
February 22, 2011 18:05
-
-
Save marcw/839074 to your computer and use it in GitHub Desktop.
git lint alias
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
[alias] | |
lint = "!sh -c 'git status | awk \"/modified/ {print \\$3} /new file/ {print \\$4}\" | xargs -L 1 php -l'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment