2

5.1 の指示に従って gitlab をインストールします。

https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md

コマンドを実行してインストールをテストすると、「Git configured for user? ... no」というエラーが表示されます。

root@gitlab:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...

Git configured for git user? ... no
  Try fixing it:
  sudo -u git -H git config --global user.name  "GitLab"
  sudo -u git -H git config --global user.email "gitlab@gitlab.ac"
  For more information see:
  doc/install/installation.md in section "GitLab"
  Please fix the error above and rerun the checks.
Has python2? ... yes
python2 is supported version? ... yes

指示のどの時点でも、git ユーザーの user.name と user.email をセットアップするように指示されていません。この警告を安全に無視できますか、それとも指示から逸脱して設定する必要がありますか?

4

1 に答える 1

2

そうではありません。この構成は、Web インターフェイスから何かを編集するときに必要です。インストール ドキュメントに含めるようプル リクエストを送信しました。

于 2013-05-09T12:46:02.340 に答える