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

Solution Verified - Updated -

Issue

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

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

Environment

  • 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