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
| Linus Torvalds | Linux 2.6.27-rc5 |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt |
| Kamalesh Babulal | [Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined |
| Gabriel C | Re: Linus 2.6.23-rc1 |
| David Woodhouse | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
git: | |
