[macOS] Add new git environment variable (#9900)

This commit is contained in:
Alexey-Ayupov
2024-05-20 23:37:11 +02:00
committed by GitHub
parent 5113d251a8
commit 5c60b0c2af
2 changed files with 6 additions and 0 deletions

View File

@@ -103,3 +103,6 @@ if [[ ! -d "/usr/local/bin" ]];then
fi
chmod +x $HOME/utils/invoke-tests.sh
sudo ln -s $HOME/utils/invoke-tests.sh /usr/local/bin/invoke_tests
# Revert to the old behaviour and avoid the Git LFS problems (https://github.blog/2024-05-14-securing-git-addressing-5-new-vulnerabilities/)
echo "export GIT_CLONE_PROTECTION_ACTIVE=false" >> $HOME/.bashrc