Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions docs/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,7 @@ repos status

echo ""
echo "🔄 Pulling latest changes..."
# Note: repos doesn't have a pull command yet, so use git directly
for repo in */; do
if [ -d "$repo/.git" ]; then
echo " Pulling $repo"
(cd "$repo" && git pull)
fi
done
repos pull

echo ""
echo "⚙️ Syncing git config..."
Expand Down
24 changes: 24 additions & 0 deletions docs/guides/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ repos push --sequential # Debug with serial execution

- [Command Overview](#command-overview)
- [repos push](#repos-push)
- [repos pull](#repos-pull)
- [repos stage](#repos-stage)
- [repos unstage](#repos-unstage)
- [repos status](#repos-status)
Expand All @@ -56,6 +57,7 @@ repos push --sequential # Debug with serial execution
| Command | Purpose |
|---------|---------|
| `push` | Push unpushed commits to remotes |
| `pull` | Pull changes from remotes |
| `stage` | Stage files matching pattern |
| `unstage` | Unstage files matching pattern |
| `status` | Show staging status across repos |
Expand Down Expand Up @@ -97,6 +99,28 @@ repos push --sequential # Run operations one at a time

---

## repos pull

Pull changes from remotes across all repositories.

| Flag | Description |
|------|-------------|
| `--rebase` | Use rebase instead of merge (git pull --rebase) |
| `--verbose`, `-v` | Show detailed progress for all repos |
| `--show-changes`, `-c` | Display file changes in repos with uncommitted changes |
| `--no-drift-check` | Skip subrepo drift check (faster but less complete) |
| `--jobs N`, `-j N` | Set number of concurrent operations (default: CPU cores + 2) |
| `--sequential` | Run one operation at a time (useful for debugging) |

```bash
repos pull # Pull changes
repos pull --rebase # Pull with rebase
repos pull --verbose # Show live progress
repos pull --jobs 4 # Limit concurrency
```

---

## repos stage

Stage files matching pattern across all repositories.
Expand Down