[MacOS] Add safe directory setting to git config (#5452)
This commit is contained in:
@@ -2,11 +2,9 @@
|
|||||||
source ~/utils/utils.sh
|
source ~/utils/utils.sh
|
||||||
|
|
||||||
echo Installing Git...
|
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_smart_install "git"
|
||||||
brew tap-new local/git
|
|
||||||
brew extract --version=2.35.1 git local/git
|
git config --global --add safe.directory "*"
|
||||||
brew install [email protected]
|
|
||||||
brew untap -f local/homebrew-git
|
|
||||||
|
|
||||||
echo Installing Git LFS
|
echo Installing Git LFS
|
||||||
brew_smart_install "git-lfs"
|
brew_smart_install "git-lfs"
|
||||||
|
|||||||
Reference in New Issue
Block a user