From: Maximilian Friedersdorff Date: Mon, 15 Jul 2019 10:57:56 +0000 (+0100) Subject: Add alias for push all (push to all remotes) X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=970d2c33a521dc6e6e50dc6d3565c853faad9ae2;p=max%2Fsaltfiles.git Add alias for push all (push to all remotes) --- 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', } %}