Re:Git ignores .gitignore with .gitignore in .gitignore
by toastal on Wednesday May 18, 2022 @07:35AM
(#31421495)
You mean $XDG_CONFIG_HOME/git/ignore
[ Parent
| on HN ]
Re:Git ignores .gitignore with .gitignore in .gitignore
by carlhjerpe on Wednesday May 18, 2022 @09:24AM
(#31422456)
"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."
Everyone aren't using all the freedesktop conventions, so no.
Re:Git ignores .gitignore with .gitignore in .gitignore
by everybodyknows on Wednesday May 18, 2022 @11:54AM
(#31424297)
To supply context: the above quote is from the man page, therefore authoritative.
$ man git-config
It is however densely conditional wording -- could be simplified.