> Luben Tuikov <ltuikov@yahoo.com> writes:
>
> > --- Junio C Hamano <junkio@cox.net> wrote:
> >>
> >> Because [remote] is NOT about mapping. It asks the fetch
> >> mechanism to fetch from that remote, so the primary thing you
> >> should look at is .url, not RHS of colon on .fetch lines. Use
> >> of tracking branches is strictly optional.
> >
> > Remote
> > ------
> >
> > Please help me understand. Here is a sample remote from
> > an actual repo (actual names changed):
> >
> > [remote "origin"]
> > url =
http://blah/bleah.git
> > fetch = +refs/heads/*:refs/remotes/origin/*
> >
> > This basically says: "Get it" from such and such url, where
> > on the repo at that url, i.e. the remote side, you will
> > find stuff in "refs/heads/", and when you get it here, locally,
> > put it in refs/remotes/origin/.
>
> [remote "origin"]
> url =
http://blah/blah.git
> fetch = refs/heads/master
>
> is also fine. The point is that you do not have to use tracking
> branches. ", and when you get it here, ..." part is optional.