From 4ca433d3f814c2cd91bc15cfa5d51b5a91ef64dc Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 19 Jul 2021 07:51:35 +0800 Subject: [PATCH] Refine push script --- trunk/scripts/git.commit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/scripts/git.commit.sh b/trunk/scripts/git.commit.sh index fd83d907b..653a09a04 100755 --- a/trunk/scripts/git.commit.sh +++ b/trunk/scripts/git.commit.sh @@ -1,4 +1,5 @@ #!/bin/bash -for file in $(git remote); do echo ""; git push $file $@; done +#for file in $(git remote); do echo ""; git push $file $@; done +for file in $(git remote -v|grep -v https|grep push|awk '{print $1}'); do echo ""; git push $file $@; done