diff --git a/.config/git/config b/.config/git/config index 4fff94ea1d8c241e69eb6f553604f29618004efb..13c51378ede7aad73ee152d63bc55574719edcc9 100644 --- a/.config/git/config +++ b/.config/git/config @@ -19,7 +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 + pre-commit = ! pre-commit run --files $(git diff --name-only) $(git diff --cached --name-only) Pull = pull --progress --ff --tags pull-force = !git fetch && git reset --hard "$(git tracking)" pushes = !git remote | xargs -n1 git push