Thread (8 messages) flat view 8 messages, 7 authors, 2016-06-15

Re: [RFC] git-remote

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:47

Hi,

On Fri, 5 Jan 2007, Santi Béjar wrote:
* In "git remote add <name> <remote>": git could use the remote url to 
deduce a <name>, like what git-clone does.
That does not make any sense. For example, I track 
"git://git.kernel.org/.../git.git" and "192.168.0.128:gits/git.git". 
Something very similar applies to the host name: if you track multiple 
Linux repos, chances are that most of them are on git.kernel.org.

I guess _if_ you have more than one upstream you are tracking (which is 
not the most common case, but hey, git-remote is for exactly that case) it 
is not uncommon to have similar urls.

IMHO Junio's proposal is as good as it gets.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help