git - Gitolite repositories management -
i new gitolite , getting hard time on managing repos in it. have 1000+ repositories in our git server , 200+ users. messy when run ssh git@hostname, gives me drop down list of repositories write access , read access both.
also when want clone 'y' repo, run command; git clone git@hostname:x/y
but if want clone folder 'z' under 'y' git clone git@hostname:x/y/z ----it gives me following error
initialized empty git repository in /home/123456/z/.git/ r access x/y/z denied vb-ubuntu-32 (or there may no repository @ given path. did spell correctly?) fatal: remote end hung unexpectedly
i don't want keep creating separate repos under same folder 'z'.
is there way can clone content of repo?
my repo list getting huge same multiple repos below x/y x/y/z x/y/f x/y/f/g
i dont know if gitolite setting not configured correctly.
thank support in advance.
the main gitolite feature close looking called namespaces:
in many projects, developers need push work central place others fetch.
namespaces allow give each developer looks own repo or set of repos, while combining these logical repos 1 physical repo on server. saves lot of disk space if share lot of common history.
it combines namespace-like path repo (x/y/z
) less repos on server.
(read documentation though)
but then, y
cannot repo, chronial mentions.
i wonder if there way clone folder or files git server (using gitolite) inside particular repo.
x/y
,z
folder insidey
.
how clonez
repository?
you can clone repo within (nested repos), official way use git submodules
Comments
Post a Comment