From: Junio C Hamano Date: Mon, 18 Feb 2013 02:26:25 GMT Subject: Re: [PATCH v3 4/9] user-manual: Mention 'git remote add' for remote branch config Message-ID: <7vwqu6cq7i.fsf@alter.siamese.dyndns.org> In-Reply-To: <1ef8fd5d7754ef65a9aaf26250b7b9f0488ff59c.1361146398.git.wking@tremily.us> "W. Trevor King" writes: > From: "W. Trevor King" > > I hardly ever setup remote..url using 'git config'. While it > may be instructive to do so, we should also point out 'git remote > add'. > > Signed-off-by: W. Trevor King > --- This looks like a good 'maint' material that can be applied straight away there in preparation for 1.8.1.4 to me (modulo one nit); reviewers watching from the sideline, please stop me if you see issues. > +After configuring the remote, the following two commands will do the > +same thing: > > ------------------------------------------------- > +$ git fetch git://example.com/proj.git +refs/heads/*:refs/remotes/example/* > +$ git fetch example +refs/heads/*:refs/remotes/example/* > $ git fetch example > ------------------------------------------------- These _three_ commands will do the same.