Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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