From: Junio C Hamano Date: Sun, 19 May 2013 06:10:30 GMT Subject: Re: [PATCH 1/3] fetch: add --allow-local option Message-ID: <7vip2f1ovd.fsf@alter.siamese.dyndns.org> In-Reply-To: "Philip Oakley" writes: > From: "Junio C Hamano" > Sent: Friday, May 17, 2013 7:30 PM > Subject: Re: [PATCH 1/3] fetch: add --allow-local option > > [...] > >> So when "the user" is running "git fetch" on "mywork" branch that >> happens to be forked from a local "master", i.e. her configuration >> is set as >> >> [branch "mywork"] >> remote = . >> merge = refs/heads/master >> > > Was the '.' example illustrative rather than exact. It is exactly spelled like so. Just like '.' in the filesystem refers to our current directory, a dot-repository used there refers to our local repository. "Git is distributed and no repository is special" principle extends to our own local repository in that you can use it just like you can use anybody else's repository as the source of fetch or the destination of push.