1
私は自分のサーバーにgitoliteを設定できました。だから私は経由してやっている:GitoliteはRepoに変更をプッシュできません
git push amazon master
そして私は、次の応答を取得:
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.
マイgitoliteの設定は
repo gitolite-admin
RW+ = git-admin
repo testing
RW+ = @all
repo webtags
RW+ = pc_magas git-admin
ですそして、私のリモコンは、以下のとおりです。
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)
mygitserverは私のサーバのエイリアスですc .ssh/configで設定されています:
Host mygitserver
Hostname ec2-52-30-197-137.eu-west-1.compute.amazonaws.com
IdentityFile ~/id_rsa.pub
User git
Webtagsリポジトリをプッシュする方法は分かりますか。
注:pc_magas git-adminにはいずれも自分のキーがあります。