I am getting up to speed with Git and Gitolite. I have a server for remote repos that are managed with gitolite. I have a git client that interacts with that. All good so far.
I want to understand the right way to handle the following scenario...
There is a repo out there (e.g.on github) that I would like to clone on to my server so that I can clone it from my server onto my client where I will branch and make changes. I want to then push those changes on to my server. I'd like to also be able to fetch from the upstream repo onto my server. If I later wish to send my changes upstream I'll email a git request-pull from my server.
I can't work out what is the best way to do this with gitolite in the picture. I presume there is syntax required in the gitolite configuration for such a repo but I can't find any examples.
I have found on my searches references to Admin-Defined-Commands which might be the way to do this but it does seem to be a lot of work to implement for someone relatively new to gitolite. Perhaps it is the only and correct way and I will go off and do it. Just asking in case there's a better/simpler way...
Any guidance appreciated, Google not being my friend today...