开发者

Git doesn't find repository

开发者 https://www.devze.com 2023-03-21 06:10 出处:网络
I have a git repository setup on a server: andy@ubuntu:/home/git/repositories$ ls gitosis-admin.git GoGoFlow.g开发者_JAVA技巧it

I have a git repository setup on a server:

andy@ubuntu:/home/git/repositories$ ls
gitosis-admin.git GoGoFlow.g开发者_JAVA技巧it
andy@ubuntu:/home/git/repositories$ pwd
/home/git/repositories

All fine and dandy.

I then come to a new machine - which I have not used before with git I manually added my machines public key into the export_dir/keydir in the gitosis project

and type:

git clone git@novo.dyndns.tv:GoGoFlow
Cloning into GoGoFlow...
git@novo.dyndns.tv password:<passwd>
fatal: GoGoFlow.git does not appear to be a git repository
fatal: The remote end hung up unexpectedly

Have I missed a setup step in my new git installation windows 7?

Cheers


When you say "manually added my machine's public key", I assume you mean directly in the gitosis installation. That doesn't work. You have to administer gitosis through a clone of the gitosis-admin project. The gitosis installation walks you through getting this set up. Also, I recommend gitolite over gitosis. Ubuntu has gitolite available as an apt package.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号