summary refs log tree commit diff
path: root/.config/git/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 6e5cf1f..0e04d6c 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -110,6 +110,8 @@
     b = !fzfez git-branches
     l = !fzfez git-log
     t = !fzfez git-tags
+    pushall = "!f() { args=$@; git remote show -n | xargs -I{} sh -c \"set -x;git push {} $args\"; }; f"
+    pushfall = "!f() { args=$@; git remote show -n | xargs -I{} sh -c \"set -x;git pushf {} $args\"; }; f"
 
 [apply]
     # Detect whitespace errors when applying a patch