继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