git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Multiple push remotes via aliases

From
Junio C Hamano <gitster@pobox.com>
Date
May 10, 2015, 18:46 UTC
Message-ID
<xmqq4mnkgtj0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20150510181703.GC225482@vauxhall.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 7 quoted lines
> I recently discovered that it was possible to specify multiple push URLs
> for a remote.  This is useful for me because some of my projects live
> both on GitHub and on my own server, and some live only one place or the
> other.
>
> One feature that I'm looking for, however, is the ability to specify
> those URLs by reference to another remote.
Two issues that immediately comes to my mind are
 (1) how you deal with a misconfiguration that makes a loop;
 (2) how would you disambiguate a local directory and a nickname.

I do not think either is insurmountable and as long as clean solutions for them are implemented I would say "why not?" for the new feature. Of course there may be other issues other than these two knee-jerk ones.

Previous: brian m. carlsonNext: brian m. carlson
Message 2 of 4 in “Multiple push remotes via aliases”
  1. brian m. carlsonMay 10, 2015
  2. Junio C HamanoMay 10, 2015
  3. brian m. carlsonMay 10, 2015
  4. Michael HaggertyMay 11, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.