[macOS] Delete more software from Big Sur (#9488)

This commit is contained in:
Mikhail Koliada
2024-03-14 15:39:16 +01:00
committed by GitHub
parent 6751b1a8d6
commit 8f3745bf87
10 changed files with 40 additions and 26 deletions

View File

@@ -11,13 +11,16 @@ brew_smart_install "git"
git config --global --add safe.directory "*"
echo "Installing Git LFS"
brew_smart_install "git-lfs"
# Update global git config
git lfs install
# Update system git config
sudo git lfs install --system
if ! is_BigSur; then
echo "Installing Git LFS"
brew_smart_install "git-lfs"
# Update global git config
git lfs install
# Update system git config
sudo git lfs install --system
fi
echo "Disable all the Git help messages..."
git config --global advice.pushUpdateRejected false