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?
You need to launch the push command on the source remote.
You can make that through:
- a direct ssh session
- or a script called through an authorization layer like Gitolite through ssh.
See ADC (Admin Defined Commands)
The admin-defined commands (ADCs) feature allows controlled access to specific, "safe", programs or scripts, without giving users full shell access.