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

Re: Pushing to a remote repo from a remote repo?

From
BCBrian Cardarella <brian@dockyard.com>
Date
Apr 14, 2012, 23:16 UTC
Message-ID
<CAAnwhhXPs0+GPExMu8TP0jbctMamg6FZW2ndcQMJbtqGetfyZw@mail.gmail.com>
In-Reply-To
<1334444541.7825.1.camel@beez.lab.cmartin.tk>

Yes, I assumed the bits need to come through my system. I want to avoid cloning, pushing, then removing the repo. But it seems that is not possible. Thank you.

- Brian
On Sat, Apr 14, 2012 at 7:02 PM, Carlos Martín Nieto <cmn@elego.de> wrote:
Show 15 quoted lines
> On Sat, 2012-04-14 at 18:08 -0400, Brian Cardarella wrote:
>> So I have a destination repo that is remote. And I have a source repo
>> that is also remote. I would like my local machine to act as a proxy
>> to allow me to push to the destination from the source without ever
>> download the repo to my machine. Is this possible?
>
> Using your computer as a proxy and avoiding downloading the information
> to your computer are mutually exclusive goals.
>
> At any rate, git doesn't support this kind of operation. If you want to
> move data from A to B, you need to push from A or fetch from B (or fetch
> from A to C and then push from C to A).
>
>   cmn
>
Previous: Carlos Martín NietoNext: Jeff King
Message 3 of 5 in “Pushing to a remote repo from a remote repo?”
  1. Brian CardarellaApr 14, 2012
  2. Carlos Martín NietoApr 14, 2012
  3. Brian CardarellaApr 14, 2012
  4. Jeff KingApr 16, 2012
  5. Jakub NarebskiApr 15, 2012

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.