From 80a61f461c09855875e20c82a0ce5d2e76b14b91 Mon Sep 17 00:00:00 2001 From: Matias Saggiorato Date: Tue, 9 May 2023 14:20:01 -0300 Subject: [PATCH] Set up safe.directory for issues with docker WIP --- provision/core/git/provision.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/provision/core/git/provision.sh b/provision/core/git/provision.sh index fcc99e37d..6fef4bc30 100644 --- a/provision/core/git/provision.sh +++ b/provision/core/git/provision.sh @@ -58,5 +58,7 @@ function git_after_packages() { vvv_info " * Git hasn't been told how to merge branches, setting pull.rebase false for the merge strategy" noroot git config --global pull.rebase false fi + git config --global --add safe.directory '*' # Allow git to work well under docker provider + noroot git config --global --add safe.directory '*' # Allow git to work well under docker provider } vvv_add_hook after_packages git_after_packages