From a35181c96cf21779d4a1de5e399cc8976933bff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 29 Jan 2016 16:56:17 +0100 Subject: [PATCH] git: Don't push to upstream with pushall. --- git/gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/gitconfig b/git/gitconfig index 4078315..35e152f 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -21,7 +21,7 @@ logl = log --graph --decorate --pretty=oneline --abbrev-commit --all - pushall = "!sh -c 'for r in $(git remote) ; do echo \"--- [$r] ---\" ; git push $r $1; done' -" + pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r $1 ; } ; done' -" [core] editor = vim