繼5.1說明安裝gitlab失敗Gitlab設置,耙因爲沒有--global user.name
https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
當我運行命令來測試安裝,我得到一個錯誤「的Git配置用戶?...否「
[email protected]:/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 "[email protected]"
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。 我可以放心地忽略這個警告,還是應該偏離說明並進行設置?
這是一個編程問題?我相信這個問題更適合[SuperUser.com](http://superuser.com)。 – gertvdijk 2013-05-08 22:58:43
哎呀,你是對的。 Stackoverflow不是這個問題的正確網站。 – spuder 2013-05-08 23:02:51