From 109c7ab63e5981d0b6affb1138d4e6bc4ef6407e Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 15 Nov 2021 13:07:50 +0100 Subject: git: add alias to push to all remotes --- .config/git/config | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/git') 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 -- cgit 1.4.1