Re: Terminology question about remote branches.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lars Hjemli
Date: Saturday, August 4, 2007 - 7: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, 3:55 am)
Re: Terminology question about remote branches., Jeff King, (Sat Aug 4, 5:02 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 5:36 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 6:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 6:38 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:01 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 7:03 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:11 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:25 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 7:35 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 7:50 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:09 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:22 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 8:48 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:00 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 10:19 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:00 am)
Re: Terminology question about remote branches., Theodore Tso, (Sat Aug 4, 3:56 pm)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 12:06 am)
Re: Terminology question about remote branches., Junio C Hamano, (Sun Aug 5, 12:31 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:21 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:24 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 2:29 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:32 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 2:44 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:46 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 3:05 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 3:07 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 3:10 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 3:56 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 4:02 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 7:23 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 8:09 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 8:24 am)