diff --git a/.gitconfig b/.gitconfig
index 64a303048ae97d5a45de22aae50feba10e4dcf25..78381c4207b1c650d0172ac6acdba5dd45268b3a 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -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]