From 1f8d15030ca67ad206a641d5785fceaeac422441 Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Sat, 14 Jun 2014 14:16:10 +0300 Subject: .gitconfig: Add default Git `push.default` config Use the backwards-compatible `matching` setting by default. On machines with newer Git installations, it avoids the annoying Git warning, and it can be overriden to use `simple` instead in `~/.extra`. Closes #400. --- .gitconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index cf4b14e..3238150 100644 --- a/.gitconfig +++ b/.gitconfig @@ -117,6 +117,13 @@ # Include summaries of merged commits in newly created merge commit messages log = true +[push] + + # Use the Git 1.x.x default to avoid errors on machines with old Git + # installations. To use `simple` instead, add this to your `~/.extra` file: + # `git config --global push.default simple`. See http://git.io/mMah-w. + default = matching + # URL shorthands [url "git@github.com:"] -- cgit v1.2.3