pull

Bring the latest origin changes into local working copies.

Usagegit-wrangler pull [options]

Quick start

git-wrangler pull --rebase

What it does

pull updates each repository from its remote branch. Repositories that are already current are skipped.

Without --rebase, Git uses its normal pull strategy. With --rebase, local commits are replayed on top of the downloaded commits instead of creating a merge commit.

Options

Option Default What it does
--repo <path> Whole workspace Pull exactly one repository.
--rebase Off Rebase local commits while pulling.
--guided Off Choose options through prompts.

More examples

# Use Git's normal pull strategy
git-wrangler pull

# Pull one repository with rebase
git-wrangler pull --repo ./api --rebase
  • Use fetch when you do not want to change working files.
  • Use status before and after pulling.