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

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

From
Carlos Martín Nieto <cmn@elego.de>
Date
Apr 14, 2012, 23:02 UTC
Message-ID
<1334444541.7825.1.camel@beez.lab.cmartin.tk>
In-Reply-To
<CAAnwhhWTcfOi+qqXPnGNXSKHbFh5L=+6eSKaaex5mq6VTwSxEw@mail.gmail.com>
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: Brian CardarellaNext: Brian Cardarella
Message 2 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.