Commit 2bb15209353c4b9eef01daaecac5674e5882756b
Exists in
master
and in
4 other branches
Merge pull request #3894 from axilleas/gitconfig-fix
Configure git global settings in installation docs
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -176,8 +176,13 @@ do so with caution! |
176 | 176 | # Copy the example Puma config |
177 | 177 | sudo -u git -H cp config/puma.rb.example config/puma.rb |
178 | 178 | |
179 | + # Configure Git global settings for git user, useful when editing via web | |
180 | + # Edit user.email according to what is set in gitlab.yml | |
181 | + sudo -u git -H git config --global user.name "GitLab" | |
182 | + sudo -u git -H git config --global user.email "gitlab@localhost" | |
183 | + | |
179 | 184 | **Important Note:** |
180 | -Make sure to edit both files to match your setup. | |
185 | +Make sure to edit both `gitlab.yml` and `puma.rb` to match your setup. | |
181 | 186 | |
182 | 187 | ## Configure GitLab DB settings |
183 | 188 | ... | ... |