chore: add learning_ai_clock + learning_ai_fastgap to all repo workflows (backup, push, sync)
This commit is contained in:
parent
7d5ed86724
commit
44f36b0f1d
@ -18,7 +18,7 @@ Run `bash scripts/backup-main.sh` from any repository root
|
||||
// turbo
|
||||
|
||||
```bash
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock; do
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock learning_ai_fastgap; do
|
||||
echo "━━━ Pushing $repo ━━━"
|
||||
(cd ~/code/mygh/$repo && git push origin main 2>&1)
|
||||
done
|
||||
@ -29,7 +29,7 @@ echo "✨ All repos pushed!"
|
||||
## What it does:
|
||||
|
||||
1. **Backup** — creates timestamped backup branches, cleans up old ones (7 days), skips duplicates
|
||||
2. **Push** — pushes `main` to `origin/main` for all 3 repos
|
||||
2. **Push** — pushes `main` to `origin/main` for all 5 repos
|
||||
|
||||
## Repositories:
|
||||
|
||||
@ -37,6 +37,7 @@ echo "✨ All repos pushed!"
|
||||
- learning_voice_ai_agent
|
||||
- learning_multimodal_memory_agents
|
||||
- learning_ai_clock
|
||||
- learning_ai_fastgap
|
||||
|
||||
## When to use:
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ Run `bash scripts/backup-main.sh` from any repository root
|
||||
- learning_voice_ai_agent
|
||||
- learning_multimodal_memory_agents
|
||||
- learning_ai_clock
|
||||
- learning_ai_fastgap
|
||||
|
||||
## Features:
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
description: Push local main branch to origin for all 4 workspace repos
|
||||
description: Push local main branch to origin for all 5 workspace repos
|
||||
---
|
||||
|
||||
# Push Repos
|
||||
@ -9,7 +9,7 @@ Pushes local `main` to `origin/main` for all workspace repositories.
|
||||
// turbo
|
||||
|
||||
```bash
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock; do
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock learning_ai_fastgap; do
|
||||
echo "━━━ $repo ━━━"
|
||||
(cd ~/code/mygh/$repo && git push origin main)
|
||||
done
|
||||
@ -17,7 +17,7 @@ done
|
||||
|
||||
## What it does:
|
||||
|
||||
1. Iterates over all 4 workspace repos
|
||||
1. Iterates over all 5 workspace repos
|
||||
2. Runs `git push origin main` in each
|
||||
3. Fails fast if a repo has diverged from remote (resolve with rebase manually)
|
||||
|
||||
@ -27,6 +27,7 @@ done
|
||||
- learning_voice_ai_agent
|
||||
- learning_multimodal_memory_agents
|
||||
- learning_ai_clock
|
||||
- learning_ai_fastgap
|
||||
|
||||
## When to use:
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
description: Pull latest from origin main across all 4 workspace repos
|
||||
description: Pull latest from origin main across all 5 workspace repos
|
||||
---
|
||||
|
||||
# Sync Repos
|
||||
@ -9,7 +9,7 @@ Pulls the latest changes from `origin/main` for all workspace repositories.
|
||||
// turbo
|
||||
|
||||
```bash
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock; do
|
||||
for repo in learning_ai_common_plat learning_voice_ai_agent learning_multimodal_memory_agents learning_ai_clock learning_ai_fastgap; do
|
||||
echo "━━━ $repo ━━━"
|
||||
(cd ~/code/mygh/$repo && git pull --ff-only origin main)
|
||||
done
|
||||
@ -17,7 +17,7 @@ done
|
||||
|
||||
## What it does:
|
||||
|
||||
1. Iterates over all 4 workspace repos
|
||||
1. Iterates over all 5 workspace repos
|
||||
2. Runs `git pull --ff-only origin main` in each
|
||||
3. Fails fast if there are local divergent commits (use `git pull --rebase` manually in that case)
|
||||
|
||||
@ -27,6 +27,7 @@ done
|
||||
- learning_voice_ai_agent
|
||||
- learning_multimodal_memory_agents
|
||||
- learning_ai_clock
|
||||
- learning_ai_fastgap
|
||||
|
||||
## When to use:
|
||||
|
||||
|
||||
@ -142,6 +142,8 @@ REPOS=(
|
||||
"$WORKSPACE_DIR/learning_ai_common_plat"
|
||||
"$WORKSPACE_DIR/learning_voice_ai_agent"
|
||||
"$WORKSPACE_DIR/learning_multimodal_memory_agents"
|
||||
"$WORKSPACE_DIR/learning_ai_clock"
|
||||
"$WORKSPACE_DIR/learning_ai_fastgap"
|
||||
)
|
||||
|
||||
for repo in "${REPOS[@]}"; do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user