1
votes

I'm news in git and gitlab. I've installed it from the officiel installation. Trying to push some project via sourcetree for example, I've this result

`git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream    origin master:master
 Pushing to [email protected]:/home/git/repositories/root/all.git

remote: GitLab: You are not allowed to access master![K
remote: error: hook declined to update refs/heads/master[K

To [email protected]:/home/git/repositories/root/all.git ! [remote rejected] master -> master (hook declined)

error: failed to push some refs to '[email protected]:/home/git/repositories/root/all.git' `

Someone have an idea?

Thank's

1
Thank's for your response. I've changed the repos_path to /projetgitlab/ with all privileges for all users but the same result.Andry Vononka
My gitlab version is 6-4 stable. I note that I can create project and nac navigate to the URL for administration of gitlab.Andry Vononka
Would cloning/pushing using an https url would work better than an ssh one? Or can you try and update gitlab to a latest version, to see if the issue persists?VonC
I'm trying to do this in the prompt: mkdir aaa cd test git init touch README git add README git commit -m 'first commit' git remote add origin [email protected]:user_dev/aaa.git git push -u origin master The result tell me that this is does not appear to be a git repository. What's wrong??Andry Vononka

1 Answers

0
votes

After my comments, The OP Andry Vononka did: