Disable safe directory to support mounted volumes
This commit is contained in:
parent
6361846e64
commit
db0ac992fe
@ -47,6 +47,7 @@ case $SOURCE in
|
||||
git config --global user.email "autodeploy@jafner.tools"
|
||||
git config --global user.name "AutoDeploy"
|
||||
git config --global pull.rebase false # Squelch nag message
|
||||
git config --global --add safe.directory '*' # Disable directory ownership checking, required for mounted volumes
|
||||
git clone --filter=blob:none --no-checkout $DL_LINK . # clone the repo with no files and no object history
|
||||
git config core.sparseCheckout true # enable sparse checkout
|
||||
git sparse-checkout init
|
||||
|
Loading…
Reference in New Issue
Block a user