With Git, version 1.9.3 on Fedora Linux, version 20, I request, for example, a username, for example:
git config user.name
But when I try to change it like this:
git config user.name 'Bar Foo'
I get the following error:
According to the “XDG Base Directory Specification” ( http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html ) and the “FILES” section git -config (1) manpage I put my Git configuration file c "$XDG_CONFIG_HOME/git/config".
Note that the variable is "XDG_CONFIG_HOMEset "$HOME/.config", and the variable is GIT_CONFIGnot set in my environment.
, "" man- git -config (1) : " $XDG_CONFIG_HOME , $HOME/.config/git/config."
Git "$XDG_CONFIG_HOME/git/config", .. .
- ?