From a5d8b4cd43187f1a8276a8fc45b2118fb71861d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 5 Apr 2020 19:05:11 +0200 Subject: [PATCH] git: Fix pushall alias that used bash syntax with sh --- git/gitconfig.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/gitconfig.j2 b/git/gitconfig.j2 index 58b8433..c7128b2 100644 --- a/git/gitconfig.j2 +++ b/git/gitconfig.j2 @@ -40,7 +40,7 @@ logl = log --graph --decorate --pretty=oneline --abbrev-commit --all - pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r \"$@\" ; } ; done' -" + pushall = "!bash -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r \"$@\" ; } ; done' -" branch-clean = "!sh -c 'git branch --merged | grep -v -e master -e develop -e '^*' | xargs --no-run-if-empty git branch -d'" brc = "!git branch-clean"