files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb (13 lines of code) (raw):
# This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.
[user]
name = <%= @user_options['git_user_name'] %>
email = <%= @user_options['git_user_email'] %>
[core]
autocrlf = input
<% if @system_core_options %>
<%= @system_core_options.join("\n ") %>
<% end %>
[gc]
auto = 0