Re: [PATCH v3 4/9] user-manual: Mention 'git remote add' for remote branch config
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 18, 2013, 02:26 UTC
- Message-ID
- <7vwqu6cq7i.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1ef8fd5d7754ef65a9aaf26250b7b9f0488ff59c.1361146398.git.wking@tremily.us>
"W. Trevor King" <wking@tremily.us> writes:
Show 8 quoted lines
> From: "W. Trevor King" <wking@tremily.us> > > I hardly ever setup remote.<name>.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 <wking@tremily.us> > ---
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.
Show 8 quoted lines
> +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.