]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Add alias for push all (push to all remotes)
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 15 Jul 2019 10:57:56 +0000 (11:57 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 15 Jul 2019 10:57:56 +0000 (11:57 +0100)
states/git/init.sls

index 861d6ed395f09c6b8fb72295fe9ec7489de3abc4..2b16d5806f328decbcba10add84ee234d1bd2649 100644 (file)
@@ -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',
 }
 %}