From 318838ad70f2c18f57ec90c1cfdbe8045988da4e Mon Sep 17 00:00:00 2001 From: Phillip Date: Sun, 16 Jun 2024 11:50:04 +0100 Subject: [PATCH] Enable saving Git credentials in macOS Keychain --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index bb63d99..7bc18df 100755 --- a/setup.sh +++ b/setup.sh @@ -60,6 +60,9 @@ defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true # Install Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +# Set git to save any credentials in the macOS Keychain +git config --global credential.helper osxkeychain + # Run Homebrew bundle with specified file brew bundle --file Brewfile # Run bash script to reconfigure Dock