Skip to content

Commit

Permalink
Automated commit by sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoabeltran16 committed Jul 27, 2024
1 parent 97e79fa commit 1face90
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sync_repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1face90

Please sign in to comment.