From e3ad7d2e1f15392f7a85a4e3676dd5ae05e58d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Thu, 13 Jan 2022 19:10:34 +0100 Subject: [PATCH] Use 'main' as default branch in services-to-main.sh. (#6330) --- services-to-main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services-to-main.sh b/services-to-main.sh index 7ea4945d4..4608fe021 100755 --- a/services-to-main.sh +++ b/services-to-main.sh @@ -9,7 +9,7 @@ function get_upstream_branch { return fi; - local BRANCH_NAME=master + local BRANCH_NAME=main local exists=`git show-ref refs/heads/$BRANCH_NAME` if [[ -z $exists ]]; then BRANCH_NAME=main @@ -52,4 +52,4 @@ echo "Successfully updated all submodules to latest commit." # ' # git checkout $(git config -f $$toplevel/.gitmodules submodule.$$name.branch || echo main); # git pull upstream $$(git config -f $$toplevel/.gitmodules submodule.$$name.branch || echo main) -# ' \ No newline at end of file +# '