次の一連のコマンドは正しく機能しました
$ mkdir carboncake
$ cd carboncake
$ git init
$ git remote add origin gitosis@myserver.net:repositories/carboncake.git
$ git pull
しかし、別のユーザーとしてプルしようとすると、
$ mkdir carboncake
$ cd carboncake
$ git init
$ git remote add origin mithun@myserver.net:repositories/carboncake.git
$ git pull
次のエラーが発生しました
fatal: 'repositories/carboncake.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
私のgitosis.conf
含む
[gitosis]
[group team]
writable = sweepshots
members = git_id_rsa
[group gitosis-admin]
writable = gitosis-admin
members = git_id_rsa
[repo carboncake]
description = A brand new app by Mithun.
owner = Mithun P
[group carboncake]
writable = carboncake
members = mithun @core
そしてkeydir
含む
git_id_rsa.pub KEY-----.pub mithun.pub mithun-rsa-key-20110427.pub
ユーザーの.ssh
ディレクトリには次が含まれます
mithun@testserver:~$ ls .ssh/
id_rsa id_rsa.pub mithun_rsa mithun_rsa.pub
- アップデート
私も試し$ git remote add origin mithun@myserver.net:carboncake.git
ましたが、同じエラーです。
実際には carboncake.git は次の場所にあります/srv/gitosis/repositories/carboncake.git