From e7d42a2bea1998fd27321bef58ebd77c27e9f584 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Sun, 13 Nov 2016 01:13:59 +0000 Subject: [PATCH] git-push-all: also skip remotes that start with _ --- git-push-all | 2 +- 1 file(s) changed, 1 insertion(s)(+), 1 deletion(s)(-) diff --git a/git-push-all b/git-push-all --- a/git-push-all +++ b/git-push-all @@ -1,4 +1,4 @@ #!/bin/sh for remote in $(git remote); do - [ "$remote" != "all" ] && git push $remote $@ + [ "$remote" != "all" ] && [ "${remote:0:1}" != "_" ] && git push $remote $@ done -- tangled.sh