Skip to content

Instantly share code, notes, and snippets.

@sunel
Forked from havvg/.gitconfig
Last active September 10, 2015 08:40
Show Gist options
  • Save sunel/e564d52ff14837580ab2 to your computer and use it in GitHub Desktop.
Save sunel/e564d52ff14837580ab2 to your computer and use it in GitHub Desktop.

Revisions

  1. @havvg havvg created this gist Mar 21, 2015.
    2 changes: 2 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    [alias]
    fix-staged = "!git diff-index --cached --name-status HEAD | grep -ve '^D' | cut -f2 | xargs -n1 php-cs-fixer fix"