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?

  • Could you say why do you want to do this? Perhaps we could find a workaround to achieve the same result... – talabes Apr 15 '12 at 23:36

You need to launch the push command on the source remote.
You can make that through:

The admin-defined commands (ADCs) feature allows controlled access to specific, "safe", programs or scripts, without giving users full shell access.

  • That was my thought as well, but a "proxy" implies the two remotes don't have direct access to each other. – Karl Bielefeldt Apr 15 '12 at 1:26
  • @KarlBielefeldt then you need to somehow download the repo to your machine, which isn't what you want. The other option is to use a bundle (ie one file representing the repo), send it to an email address as an attached document. Or to a external space (stackoverflow.com/questions/3632723/git-with-dropbox/…: dropbox), in order for the other destination to download the bundle, and then pull from the bundle. – VonC Apr 15 '12 at 1:45
  • I suspect what I want to do just isn't possible as I do not have SSH access on either remote machine. – bcardarella Apr 15 '12 at 17:00
  • @bcardarella what I proposed in my previous comment doesn't involve SSH access: it is strictly between the two remote machines, not your intermediate local one. – VonC Apr 15 '12 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.