I had the file:
~/.gitconfig
working ok, but I decided to move it to:
~/.config/git/config
Now, git config --global -l
just gives:
$ git config --global -l
fatal: unable to read config file '/home/user/.gitconfig': No such file or directory
I have $XDG_CONFIG_HOME
configured and exported, as well as $HOME
. What would be the problem?
Is there some configuration I can set to /etc/gitconfig
to make git aware of the new configuration file location (something like core.globalconfig=$HOME/.config/git/config
)?
Thanks
--
PS. System: Debian Linux Wheezy
Reference: