Skip to content

Commit

Permalink
Set up safe.directory for issues with docker WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
msaggiorato authored and tomjn committed Jul 23, 2023
1 parent d647960 commit 80a61f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provision/core/git/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 80a61f4

Please sign in to comment.