Why is "gitconfig" file not provided with Git package ?

Solution Verified - Updated -


  • Git package is installed on RHEL6 System. But it doesn't provide /etc/gitconfig file.
# rpm -q git

# ls -l /etc/gitconfig
ls: cannot access /etc/gitconfig: No such file or directory
  • How to configure and save personalized Git settings in RHEL6 ?


  • Red Hat Enterprise Linux 6.4
  • Git

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content