mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
30 lines
966 B
Bash
30 lines
966 B
Bash
#!/bin/bash -e -o pipefail
|
|
|
|
echo Installing Git...
|
|
brew install git
|
|
|
|
echo Installing Git LFS
|
|
brew install git-lfs
|
|
# Update global git config
|
|
git lfs install
|
|
# Update system git config
|
|
sudo git lfs install --system
|
|
|
|
echo Installing Hub
|
|
brew install hub
|
|
|
|
echo Disable all the Git help messages...
|
|
git config --global advice.pushUpdateRejected false
|
|
git config --global advice.pushNonFFCurrent false
|
|
git config --global advice.pushNonFFMatching false
|
|
git config --global advice.pushAlreadyExists false
|
|
git config --global advice.pushFetchFirst false
|
|
git config --global advice.pushNeedsForce false
|
|
git config --global advice.statusHints false
|
|
git config --global advice.statusUoption false
|
|
git config --global advice.commitBeforeMerge false
|
|
git config --global advice.resolveConflict false
|
|
git config --global advice.implicitIdentity false
|
|
git config --global advice.detachedHead false
|
|
git config --global advice.amWorkDir false
|
|
git config --global advice.rmHints false |