Git/fetch: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
m boldface no longer needed
example
Line 1: Line 1:
'''Action''': fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
'''Action''': fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
==Examples==
* <code>git fetch github master</code>
** where "github" is the name of the {{l/same|remote}} and "master" is the {{l/same|branch}}.
==Links==
==Links==
===Documentation===
===Documentation===
* [http://kernel.org/pub/software/scm/git/docs/git-fetch.html manpage @ kernel.org]
* [http://kernel.org/pub/software/scm/git/docs/git-fetch.html manpage @ kernel.org]

Revision as of 18:45, 9 March 2015

Action: fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.

Examples

  • git fetch github master
    • where "github" is the name of the remote and "master" is the branch.

Documentation