Skip to content

Instantly share code, notes, and snippets.

@marcw
Created February 22, 2011 18:05
Show Gist options
  • Save marcw/839074 to your computer and use it in GitHub Desktop.
Save marcw/839074 to your computer and use it in GitHub Desktop.
git lint alias
[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