From 970d2c33a521dc6e6e50dc6d3565c853faad9ae2 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 15 Jul 2019 11:57:56 +0100 Subject: [PATCH] Add alias for push all (push to all remotes) --- states/git/init.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/states/git/init.sls b/states/git/init.sls index 861d6ed..2b16d58 100644 --- a/states/git/init.sls +++ b/states/git/init.sls @@ -31,6 +31,7 @@ include: 'alias.alias': '!req=$\'\\033[0;31m=\\033[0m\'; git config --get-regexp ^alias\. | sed -e s/^alias\.// -e "s/\ /\t$req\ /"', 'alias.r': 'rebase -S', 'alias.m': 'merge -S', + 'alias.pa': '!git remote | xargs L1 git push --all', } %} -- 2.46.2