An open API service indexing awesome lists of open source software.

https://github.com/leolanese/gitconfig

.gitconfig: Writing to global ~/.gitconfig file rather than the repository .git/config
https://github.com/leolanese/gitconfig

Last synced: about 2 months ago
JSON representation

.gitconfig: Writing to global ~/.gitconfig file rather than the repository .git/config

Awesome Lists containing this project

README

        

gitconfig
=========

# what is the .gitconfig file
~/.gitconfig
User-specific configuration file. Also called "global" configuration file.

# How to locate the git config file in Mac [duplicate]
The global Git configuration file is stored at: $HOME/.gitconfig on all platforms.

# why we need it?
For writing options: write to global ~/.gitconfig file rather than the repository .git/config, write to $XDG_CONFIG_HOME/git/config file if this file exists and the ~/.gitconfig file doesn’t.

For reading options: read only from global ~/.gitconfig and from $XDG_CONFIG_HOME/git/config rather than from all available files.

--

## { 'L e o L a n e s e',
### 'I B u i l d I n s p i r i n g R e s p o n s i v e S o l u t i o n s',
### 'L O N D O N , U K' }

# My Portfolio

http://www.leolanese.com

# My Blog:

www.leolanese.com/blog

# Twitter:

http://twitter.com/LeoLaneseltd

# Questions / Suggestion / Recommendation ?

[email protected]