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
- Host: GitHub
- URL: https://github.com/leolanese/gitconfig
- Owner: leolanese
- Created: 2014-11-21T23:22:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T13:30:27.000Z (over 6 years ago)
- Last Synced: 2025-02-24T12:11:33.712Z (2 months ago)
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]