pull
Pulls the latest changes for target repositories.
Usage
git-wrangler pull [--repo <path>] [--rebase] [--force] [--guided]
What it does
Discovers Git worktrees under the current directory, or targets exactly one worktree with --repo, and runs git pull in each repository. Repositories that are already up to date are reported as skips.
Use this when you want to update working trees, not just remote-tracking refs. If you only want to refresh origin, use git-wrangler fetch.
Options
| Flag | Required | Description |
|---|---|---|
--repo <path> | Optional | Target exactly one repository instead of discovering recursively. |
--rebase | Optional | Rebase local commits on top of the fetched remote branch instead of merging. |
--force | Optional | Pass --force through to git pull. |
--guided | Optional | Interactively configure command options before execution. |
Examples
# Standard pull (merge strategy)
git-wrangler pull
# Pull with rebase
git-wrangler pull --rebase
# Pass --force through to git pull
git-wrangler pull --force
# Pull changes for a specific repository
git-wrangler pull --repo /path/to/repo
# Common review-first flow
git-wrangler status
git-wrangler pull --rebase
git-wrangler status
Notes
- Each repository’s remote
git pulloperation has a 30-second timeout. A timeout fails that repository while the bulk run continues.