Gitolite push error

git, gitolite

Solution

How did you create the remote repository? If you manually create a bare clone of your repository and moved it to the repository folder of Gitolite there are a couple of things which need to be setup manually:

- Change the owner to the Gitolite user, e.g. `chown -R git:users`

- Change the permissions for folders and files, e.g. `chmod -R 755 myproject.git`

- Check if there is `gl-conf` in the `project.git/` folder. If not copy one from another working Gitolite project. Normally it gets setup automatically when you use gitolite-admin to configure a new project. Here is what the file looks like.

# gl-conf
%one_repo = (
  'myproject' => {
    'meph' => [
      [
        4,
        'RW+',
        'refs/.*'
      ]
    ]
  }
);

Problem

I have problem with my git, when I push my changes, git sends me this error: ``` git FATAL: split conf set, gl-conf not present for "name of repository" ``` What Can I do? Or how can I caused this problem? Thanks for your help. Meph

Original source