Git 2.12.2 • Manual
Home
Configuration Mechanism (draft)
Git uses a simple text format to store customizations that are per repository and are per user. Such a configuration file may look like this:
#
# A '#' or ';' character indicates a comment.
#
; core variables
[core]
; Don't trust file modes
filemode = false
; user identity
[user]
name = "Junio C Hamano"
email = "gitster@pobox.com"
Various commands read from the configuration file and adjust their operation accordingly. See git-config(1) for a list and more details about the configuration mechanism.