From 1face905c5c68790236179c315deeda09865d750 Mon Sep 17 00:00:00 2001 From: Diego Alejandro Beltran Date: Fri, 26 Jul 2024 21:13:47 -0500 Subject: [PATCH] Automated commit by sync script --- sync_repos.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sync_repos.sh b/sync_repos.sh index 8101596a..0dea3cf6 100644 --- a/sync_repos.sh +++ b/sync_repos.sh @@ -60,6 +60,16 @@ if ! git diff-index --quiet HEAD --; then git commit -m "Automated commit by sync script" fi +# Branches to create and push +branches=("feature/cycle-1-setup" "feature/bot-initialization" "feature/database-setup" "feature/basic-term-lookup" "feature/env-configuration") + +# Create and push branches +for branch in "${branches[@]}"; do + git checkout -b $branch main || git checkout $branch + git push -u github $branch + git push -u gitlab $branch +done + # Merge changes from GitHub to GitLab echo "Merging changes from GitHub to GitLab..." git checkout main