From 228cbd81c9e5d88124d09b73e44bc7bceb40972d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 11 Jan 2018 20:40:47 +0000 Subject: Use Homebrew's gitconfig for various commands Git is a transport and storage mechanism for us so we don't want to allow arbitrary customisation of this due to user issues e.g. #3664 and #3561. Fixes #3664. --- Library/Homebrew/gitconfig/.gitconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Homebrew/gitconfig/.gitconfig (limited to 'Library/Homebrew/gitconfig') diff --git a/Library/Homebrew/gitconfig/.gitconfig b/Library/Homebrew/gitconfig/.gitconfig new file mode 100644 index 000000000..2f68bde0d --- /dev/null +++ b/Library/Homebrew/gitconfig/.gitconfig @@ -0,0 +1,14 @@ +[user] + # Name used in commit messages. + name = Homebrew + # Email used in commit messages. + email = git@brew.sh +[fetch] + # Always prune when fetching (and pulling). + prune = 1 +[core] + # Don't prompt for commit messages for merge commits. + mergeoptions = --no-edit +[credential] + # Use macOS Keychain to store HTTP passwords. + helper = osxkeychain -- cgit v1.2.3