diff --git a/images/macos/provision/core/git.sh b/images/macos/provision/core/git.sh index 0dd8ba739..3a62d85e1 100644 --- a/images/macos/provision/core/git.sh +++ b/images/macos/provision/core/git.sh @@ -2,11 +2,9 @@ source ~/utils/utils.sh echo Installing Git... -# Temporary hardcode version 2.35.1 due to the issue with the actions\checkout https://github.com/actions/checkout/issues/76 -brew tap-new local/git -brew extract --version=2.35.1 git local/git -brew install git@2.35.1 -brew untap -f local/homebrew-git +brew_smart_install "git" + +git config --global --add safe.directory "*" echo Installing Git LFS brew_smart_install "git-lfs"