[MacOS] Add safe directory setting to git config (#5452)

This commit is contained in:
AlexanderGitin
2022-05-11 18:55:42 +03:00
committed by GitHub
parent 0576062396
commit 63c06b0c58

View File

@@ -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"