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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.