diff --git a/recipes/default/git b/recipes/default/git index 32265a0..48ba02a 100755 --- a/recipes/default/git +++ b/recipes/default/git @@ -17,6 +17,7 @@ git config --global init.defaultBranch main git config --global pull.ff only # Create global ignore file +mkdir -p "$XDG_CONFIG_HOME/git" try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global" git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global"