$XDG_CONFIG_HOME should be defined and the location of the global git ignore changed to $XDG_CONFIG_HOME/git/ignore. According to this resource, it should be defined in ~/.profile for a user, or /etc/profile for system-wide.
Check Steve Jorgensen's answer here quite far down.
The full XDG specification can be found here, which is broken down in the Arch wiki here. These variables should only be defined in absolute paths or they will be ignored.
The Windows directory for the global git ignore is ~\git\ignore
$XDG_CONFIG_HOME
should be defined and the location of the global git ignore changed to$XDG_CONFIG_HOME/git/ignore
. According to this resource, it should be defined in ~/.profile for a user, or /etc/profile for system-wide.Check Steve Jorgensen's answer here quite far down.
The full XDG specification can be found here, which is broken down in the Arch wiki here. These variables should only be defined in absolute paths or they will be ignored.
The Windows directory for the global git ignore is
~\git\ignore