From: Eric Hanchrow Date: Sat, 17 Mar 2012 15:49:37 GMT Subject: Re: git push default behaviour? Message-ID: In-Reply-To: <7vwr6u6qrn.fsf@alter.siamese.dyndns.org> In response to http://git-blame.blogspot.com/2012/03/please-discuss-what-git-push-should-do.html: I think either 'current' or 'upstream' is a better default than 'matching', since it's less likely to surprise newbies. However, I cannot decide which of 'current' or 'upstream' is the best choice. It might be worthwhile to have 'git push' warn when someone has push.default = current or push.default = upstream, AND when @{u} has a different name than the local branch -- in other words, emit a warning when 'upstream'' and 'current' refer to different branches. The warning itself should be turn-off-able, since it would get pretty old pretty quickly.