Add missing repositories to workflow documentation: - learning_ai_jarvis_jr - learning_ai_peakpulse Updated workflows: - repo_backup-and-push.md - repo_sync-repos.md - repo_commit-workspace.md - repo_backup-main-branch.md - repo_push-repos.md
1.2 KiB
1.2 KiB
| description |
|---|
| Push local main branch to origin for all 7 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 learning_ai_fastgap learning_ai_jarvis_jr learning_ai_peakpulse; do
echo "━━━ $repo ━━━"
(cd ~/code/mygh/$repo && git push origin main)
done
What it does:
- Iterates over all 7 workspace repos
- Runs
git push origin mainin each - 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
- learning_ai_fastgap
- learning_ai_jarvis_jr
- learning_ai_peakpulse
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-reposfirst then rebase - Use
/repo_sync-reposto pull before pushing if you've been working on another machine