DELAPARRA
Index
Color
NL
Category: Git commands

git pull

Explained by Updated

What is git pull?

git pull: Fetch remote commits and merge them into the current branch. git pull fetches new commits from the remote and integrates them into your current branch. By default it merges; with --rebase, or pull.rebase = true in your config, it replays your local commits on top instead. It is the everyday way to get your colleagues' latest work before you continue.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about git pull

What should you keep in mind with git pull?

Pull before you start working and before you push, so conflicts show up early and stay small. If you have uncommitted changes that conflict with incoming ones, Git refuses to pull; commit or stash them first. Many teams set rebase as the default for pulls, because it avoids a cluttered history of small "merge branch main" commits that say nothing useful.

At a glance

CategoryGit commands
Explained by
Updated

More Git commands terms

All terms starting with G

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.