mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-23 15:36:33 +00:00
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
|
git config --global pull.ff only
|
||||||
|
|
||||||
# Create global ignore file
|
# Create global ignore file
|
||||||
|
mkdir -p "$XDG_CONFIG_HOME/git"
|
||||||
try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global"
|
try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global"
|
||||||
git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global"
|
git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user