From: Stephen Rothwell Date: Fri, 15 Apr 2016 05:19:09 +0000 (+1000) Subject: to_ozlabs: prune the remote repos X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=c5b3a2fff157a1e32fba4830cda9d12f7ccf45b4;p=next-scripts to_ozlabs: prune the remote repos --- diff --git a/to_ozlabs b/to_ozlabs index 3b15d3e..268c09e 100755 --- a/to_ozlabs +++ b/to_ozlabs @@ -9,7 +9,7 @@ ssh ozlabs.org "cd kernels/linus.git; git remote update" for i in $GIT_REPOS; do echo "Pushing $i" - ( cd $i; git push bilbo ) + ( cd $i; git push --prune bilbo ) [ "${i%.git}" = "$i" ] && ssh ozlabs.org "cd kernels/next/$i; git reset --hard" done