Commit 715ddea2 authored by nimrod's avatar nimrod
Browse files

pre-commit git alias.

Runs pre-commit on the changed files.
parent 17b15497
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
    merg = merge --no-edit
    pop = stash pop
    posh = push --set-upstream origin HEAD
    pre-commit = !git diff --name-only | xargs -r pre-commit run --files
    Pull = pull --progress --ff --tags
    pull-force = !git fetch && git reset --hard "$(git tracking)"
    pushes = !git remote | xargs -n1 git push