Commit 595392b5 authored by nimrod's avatar nimrod
Browse files

- Added update-requirements Git alias (same as the update-requirements shell...

- Added update-requirements Git alias (same as the update-requirements shell alias but also commits the changed files.)
parent c93e90a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +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
[color]
    grep = true
[core]