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
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to device for block/paride |
| Henrique de Moraes Holschuh | [RFC] rfkill class rework |
git: | |
| Gerrit Renker | [PATCH 05/37] dccp: Cleanup routines for feature negotiation |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Johann Baudy | Packet mmap: TX RING and zero copy |
| David Miller | [GIT]: Networking |
