DEV Community

Discussion on: Global Git Ignores

Collapse
 
tpenguinltg profile image
tPenguinLTG

According to the gitignore man page, the "default value [for core.excludesfile] is $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore is used instead."

git-scm.com/docs/gitignore