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

FlagRequiredDescription
--repo <path>OptionalTarget exactly one repository instead of discovering recursively.
--rebaseOptionalRebase local commits on top of the fetched remote branch instead of merging.
--forceOptionalPass --force through to git pull.
--guidedOptionalInteractively 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 pull operation has a 30-second timeout. A timeout fails that repository while the bulk run continues.