Make sure git config dir exists
This commit is contained in:
parent
1f77d0338a
commit
f5b48fec1b
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue