diff --git a/.gitconfig b/.gitconfig index 78381c4207b1c650d0172ac6acdba5dd45268b3a..ee30a598467a13f8c8372102afa2225175a7b720 100644 --- a/.gitconfig +++ b/.gitconfig @@ -22,7 +22,7 @@ tag-version = !git tag -af "v$(cat VERSION)" tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream} trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease - update-requirements = !git stash save -a -u -q && ( git ls-files '*requirements*.txt' | xargs pur -r ) && ( git commit -a -m '- Updated requirements.' || echo 'No requirements updated.' ) && git stash pop + update-requirements = !git stash save -a -u -q && ( git ls-files '*requirements*.txt' | xargs -n1 pur -r ) && ( git commit -a -m '- Updated requirements.' || echo 'No requirements updated.' ) && git stash pop [color] grep = true [core]