From 6919011e864af44a111503189a75ba2e60d7c57c Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 5 Jan 2022 14:36:42 +0800 Subject: [PATCH] Update sync script, ignore gb28181 --- trunk/scripts/git.commit.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/trunk/scripts/git.commit.sh b/trunk/scripts/git.commit.sh index 509da3c3c..0de1cfe2d 100755 --- a/trunk/scripts/git.commit.sh +++ b/trunk/scripts/git.commit.sh @@ -1,5 +1,8 @@ #!/bin/bash -#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 ""; echo "git push $file $@"; git push $file $@; done +for file in $(git remote -v|grep -v https|grep -v gb28181|grep push|awk '{print $1}'); do + echo ""; + echo "git push $file $@"; + git push $file $@; +done