E
E
Evgeny Terentiev2014-05-12 15:10:58
git
Evgeny Terentiev, 2014-05-12 15:10:58

How to redirect, proxy git request?

Hello, there is such a problem, somewhat strange, but:
- There are private github, bitbucket etc repositories, you need to open access to them at a different address, a different account, but not physically clone to the server, but somehow redirect the request, for example, on pull, to these private repositories with authorization under your account.
Tell me which way to dig and what tools you can use. Maybe there is something similar inside git itself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Terentiev, 2014-05-12
@zein

Managed through node-http-proxy

E
Eugene Obrezkov, 2014-05-12
@ghaiklor

There is no such thing in git.
What prevents you from raising a small redirect to the repository?
The person goes to the address -> we throw it on your server -> the request is redirected to the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question