diff --git a/CHANGELOG.md b/CHANGELOG.md index db60a547e..d3a294fa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ permalink: /docs/en-US/changelog/ * Fixed a vagrantfile error on Arm when the vagrant-parallels plugin is missing ( #2670 ) * Miscellanous Shellcheck linter fixes and improvements ( #2675 ) * Github action fixes for composer and an upgrade to Ubuntu 20 ( #2677 ) +* Fixed an issue with git safe directories ( #2681 ) ## 3.11.2 ( 2023 May 8th ) 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