1

ワークステーションに gitolite-admin のクローンを作成し、ユーザーとリポジトリを管理していますが、プッシュすると、次のようなエラーが発生しました。

remote: Initialized empty Git repository in /home/git/repositories/fmame.git/
remote: /bin/find: paths must precede expression
remote: Usage: /bin/find [path...] [expression]
remote: /bin/find: paths must precede expression
remote: Usage: /bin/find [path...] [expression]
remote: /bin/find: paths must precede expression
remote: Usage: /bin/find [path...] [expression]
remote: /bin/find: paths must precede expression
remote: Usage: /bin/find [path...] [expression]
remote: /bin/find: paths must precede expression
remote: Usage: /bin/find [path...] [expression]

To git@localhost:gitolite-admin

ここに私のステップがあります:

1/ gitolite.conf の編集:</p>

repo gitolite-admin
    RW+     =   gitoliteadm

repo testing
    RW+     =   @all

repo mfame
    RW+ = ryoma

2/ディレクトリryoma.pubに配置します。keydir

cygwin 内の Windows 7 で作業を実行しています。

gitolite-admin リポジトリのクローンを作成できるようにするには、この設定をどのように変更しますか?

4

1 に答える 1

0

Gitolite フックが機能しない」に続いて、sshd (gitolite サーバーで実行されている ssh デーモン) に適切なPATH.

その (不適切なPATH) により、" remote: /bin/find: paths must precede expression" エラー メッセージが表示される可能性があります。これは、間違ったシェルが選択される可能性があるためです。

于 2013-03-21T06:16:41.000 に答える