Difference between revisions of "Git/pull"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to navigation Jump to search
(link to git fetch)
m (formatting)
Line 1: Line 1:
 
'''Action''': incorporates changes from a remote repository into the current branch
 
'''Action''': incorporates changes from a remote repository into the current branch
  
In its default mode, git pull is shorthand for [[../fetch|git fetch]] followed by [[../merge|git merge]] FETCH_HEAD.
+
In its default mode, <code>git pull</code> is shorthand for <code>git {{l/same|fetch}}</code> followed by <code>git {{l/same|merge}} FETCH_HEAD</code>.
 
==Links==
 
==Links==
 
===Documentation===
 
===Documentation===
 
* [https://www.kernel.org/pub/software/scm/git/docs/git-pull.html manpage @ kernel.org]
 
* [https://www.kernel.org/pub/software/scm/git/docs/git-pull.html manpage @ kernel.org]

Revision as of 01:27, 30 March 2015

Action: incorporates changes from a remote repository into the current branch

In its default mode, git pull is shorthand for git fetch followed by git merge FETCH_HEAD.

Links

Documentation