Git multiple config files
- by tig
As it is told in git-config manual, I have three files to specify git repo configuration: $GIT_DIR/config, ~/.gitconfig and $(prefix)/etc/gitconfig. Is it possible to make git read another config file (for example .gitconfig in root of the repo) after reading $GIT_DIR/config?
I want it as I created git command aliases in .git/config and I would prefer to store them in repo, so I can restore them when cloning and for example.