Re: Terminology question about remote branches.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Kastrup <dak@...>
Cc: Jeff King <peff@...>, <git@...>
Date: Saturday, August 4, 2007 - 10:03 am

On 8/4/07, David Kastrup <dak@gnu.org> wrote:

Yes. The "--track" option just adds some extra info in .git/config:

[branch "master"]
  remote = origin
  merge = refs/heads/master


This info is then used by "git-pull" to
1. fetch updates from the remote repository "origin"
2. merge those updates from refs/remotes/origin/master


Maybe ;-)

I just tried to avoid using the word "track" in more than one context,
since it seemed to be a main source of confusion.


Yes, this is the part that downloads objects from the remote
repository and updates refs/remotes/origin/master to refer to the same
commit as the master branch in the remote repository.


Yes, this updates your local 'master' with the commits downloaded by git-fetch



No. A remote repository: the name 'origin' can be used as an alias for

  git://git.kernel.org/pub/scm/git/git.git


No. Fetch objects from the remote repository alias "origin"


And this is the info added  by "git branch --track" which enables the
automatic merging of refs/remotes/origin/master (since
refs/remotes/origin/master is your local copy of refs/heads/master in
the 'origin' repository)



Talking to myself: obviously not


-- 
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Terminology question about remote branches., David Kastrup, (Sat Aug 4, 6:55 am)
Re: Terminology question about remote branches., Junio C Hamano, (Sun Aug 5, 3:31 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 10:23 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 11:09 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 11:24 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 6:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:01 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 6:05 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 6:56 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 7:02 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 6:10 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:22 am)
Re: Terminology question about remote branches., Jeff King, (Sat Aug 4, 8:02 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:36 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:21 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 5:29 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:32 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 5:44 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:46 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 9:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 1:00 pm)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 1:19 pm)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 2:00 pm)
Re: Terminology question about remote branches., Theodore Tso, (Sat Aug 4, 6:56 pm)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 3:06 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 9:38 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 10:03 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:11 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:25 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 10:50 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 10:35 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:09 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:24 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 11:48 am)