Re: [PATCH 09/10] user-manual.txt: explain better the remote(-tracking) branch terms
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Oct 26, 2010, 06:20 UTC
- Message-ID
- <AANLkTinJQMSbW-bsEOS9610GXR7EtbESK_tLAfxt2ibK@mail.gmail.com>
- In-Reply-To
- <1287986922-16308-10-git-send-email-Matthieu.Moy@imag.fr>
On Mon, Oct 25, 2010 at 2:08 AM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 7 quoted lines
> +In this case, "origin" is called a remote repository, or "remote" for > +short. The branches of this repository are called "remote branches" > +from our point of view, and Git will keep a copy of these > +branches, called "remote-tracking branches" in the local repository. > +These remote-tracking branches are references that will be updated by > +"git fetch" (hence by "git pull"). See > +<<Updating-a-repository-With-git-fetch>> for details.
"...and Git will initially clone these branches into so-called "remote-tracking branches" in the local repository. Thereafter, the remote-tracking branches are updated upon fetching from[1] or pushing to the remote. ([1] which also includes pulling.)
j.