Ich habe es geschafft, gitolite auf meinem Server einzurichten, und ich möchte meine App hineinschieben. So via ich tue:Gitolite kann nicht Änderungen an einem Repo Push ich machte
git push amazon master
Und ich bekomme die folgende Antwort:
W access for home/git/repositories/webtags DENIED to git-admin
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Meine gitolite Config ist
repo gitolite-admin
RW+ = git-admin
repo testing
RW+ = @all
repo webtags
RW+ = pc_magas git-admin
Und meine Fernbedienungen sind:
amazon mygitserver:/home/git/repositories/webtags.git (fetch)
amazon mygitserver:/home/git/repositories/webtags.git (push)
openshift ssh://[email protected]/~/git/webtag.git/ (fetch)
openshift ssh://[email protected]/~/git/webtag.git/ (push)
origin [email protected]:pc-magas/webtags.git (fetch)
origin [email protected]:pc-magas/webtags.git (push)
Beachten Sie, dass mygitserver ein Alias für meinen Server ist. C konfigurierte in .ssh/config:
Host mygitserver
Hostname ec2-52-30-197-137.eu-west-1.compute.amazonaws.com
IdentityFile ~/id_rsa.pub
User git
Wissen Sie, wie Sie auf Webtags Repo drücken.
Hinweis: Beide pc_magas git-admin haben meine Schlüssel.