Gitolite repositories management

I am new to Gitolite and getting hard time on managing repos in it. We have 1000+ repositories in our git server and 200+ users. It look so messy when we run ssh git@hostname, it gives me the drop down list of those repositories With write access and read access both.

Also when i want to clone ‘y’ repo, i run the command;
git clone git@hostname:x/y

  • How to git clone an OpenShift application to Android
  • How to push to new git branch not with Xcode
  • Why is sublime text showing git commit information?
  • Git fetch but no diff between local and remote
  • Pull Requests dev/live branches with different config files
  • npm install package from local folder
  • but if want to 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 for x/y/z DENIED to vb-ubuntu-32
    (Or there may be no repository at the given path. Did you spell it correctly?)
    fatal: The remote end hung up unexpectedly

    I don’t want to keep creating separate repos under the same folder like for ‘z’.

    Is there any way that i can clone only the content of the repo?

    My repo list is getting huge with the same multiple repos like below

    i dont know if my gitolite setting is not configured correctly.

    Thank you for your support in advance.

  • How do I combine multiple branches and reduce the number of branches in git?
  • GO unsupported URL protcol
  • How does git --no-merged option work
  • How to tell which local branch is out of date with remote branch
  • Git: How to see old version of a file (before it was added to the staging area/index)?
  • How can I rewrite history so that all files, except the ones I already moved, are in a subdirectory?
  • One Solution collect form web for “Gitolite repositories management”

    The main gitolite feature which is close to what you are looking for is called namespaces:

    In many projects, developers need to push their work to some central place for others to fetch.
    Namespaces allow you to give each developer what looks like her own repo or set of repos, while combining all these logical repos into one physical repo on the server. This saves a lot of disk space if they all share a lot of common history.

    It combines namespace-like path for the repo (x/y/z) with less repos on the server.
    (read its documentation carefully though)

    But even then, y cannot be a repo, as Chronial mentions.

    I wonder if there is way to clone the folder or files from the git server (using gitolite) inside the particular repo. Like x/y and z is folder inside y.
    How to clone z only for that repository?

    You can clone a repo within another (nested repos), but the official way to do that is to use git submodules

    Git Baby is a git and github fan, let's start git clone.