Pulling

suggest change

Introduction

git push sends local commits to a remote. git pull fetches commits from a remote and integrates them into the current branch. This topic covers that command and problems that come up while integrating those commits.

Syntax

Parameters

Parameter Details
--quiet No text output
-q Shorthand for --quiet
--verbose Verbose output. Passed on to fetch and to merge or rebase
-v Shorthand for --verbose
--[no-]recurse-submodules[=yes|on-demand|no] Fetch new submodule commits. This does not check out those commits

Remarks

git pull runs git fetch with the given parameters, then merges the retrieved branch into the current branch. If pull.rebase is set, or you pass --rebase, it rebases your local commits instead of merging.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents