pull

Pulls the latest changes for all tracked repositories.

Usage

git-wrangler pull [--rebase] [--force]

What it does

Iterates through Git repositories found in the current directory and its immediate subdirectories, and performs a Git pull operation to fetch and integrate changes from the remote repository. Repositories that are already up to date are reported and skipped.

Options

FlagRequiredDescription
--rebaseOptionalRebase local commits on top of the fetched remote branch instead of merging.
--forceOptionalForcefully pull changes, overwriting local changes if necessary.

Examples

# Standard pull (merge strategy)
git-wrangler pull

# Pull with rebase
git-wrangler pull --rebase

# Force pull (overwrites local changes)
git-wrangler pull --force