From: Markus Heidelberg Date: Thu, 05 Mar 2009 22:22:01 GMT Subject: Re: [RFC PATCH] git push: Push nothing if no refspecs are given or configured Message-ID: <200903052322.02098.markus.heidelberg@web.de> In-Reply-To: Sverre Rabbelier, 05.03.2009: > Heya, > > On Thu, Mar 5, 2009 at 23:15, Finn Arne Gangstad wrote: > > Previously, git push [remote] with no arguments would behave like > > "git push :" if no push refspecs were configured for the remote. > > It may be too easy for novice users to write "git push" or > > "git push origin" by accident, so git will now push nothing, and give an > > error message in such cases. > > Config option please, I very much like the current behavior. git push --nothing ? :) Markus