From dfabce5c14f7c510f2f9bd50c225a271a85d12b2 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 14 Dec 2017 12:39:32 +0100 Subject: [PATCH] Set push.default to upstream The default changed from matching to simple in git 2.0, but simple was only introduced in git 1.7.11, and we have older gits, so I can't just set it to that. upstream is the closest in functionality, and I think I don't need the extra security of simple, so I'll just set it unconditionally to upstream instead of checking the git version. --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 5b6af25..d742a30 100644 --- a/.gitconfig +++ b/.gitconfig @@ -10,4 +10,4 @@ type = cat-file -t dump = cat-file -p [push] - default = simple + default = upstream