learning_ai_common_plat/.windsurf/workflows/repo_push-repos.md
saravanakumardb1 d333b23326 chore(workflows): add learning_ai_clock to all repo_* workspace workflows
Updated all 5 repo_ workflows to cover all 4 workspace repos:
- repo_sync-repos.md
- repo_push-repos.md
- repo_backup-and-push.md
- repo_backup-main-branch.md
- repo_commit-workspace.md
2026-02-27 17:19:58 -08:00

1.1 KiB

description
Push local main branch to origin for all 4 workspace repos

Push Repos

Pushes local main to origin/main for all workspace repositories.

// turbo

for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock; do
  echo "━━━ $repo ━━━"
  (cd ~/code/mygh/$repo && git push origin main)
done

What it does:

  1. Iterates over all 4 workspace repos
  2. Runs git push origin main in each
  3. Fails fast if a repo has diverged from remote (resolve with rebase manually)

Repositories:

  • learning_ai_common_plat
  • learning_voice_ai_agent
  • learning_multimodal_memory_agents
  • learning_ai_clock

When to use:

  • After committing a batch of changes locally
  • After running /repo_commit-workspace
  • To sync local work to GitHub before switching machines

Notes:

  • Only pushes main — does not push other branches
  • Will fail safely if remote has diverged — run /repo_sync-repos first then rebase
  • Use /repo_sync-repos to pull before pushing if you've been working on another machine