From: Jay Soffian Date: Wed, 25 Feb 2009 09:34:54 GMT Subject: Re: git push Message-ID: <76718490902250134q580caaffuf5f13d87e3d0974c@mail.gmail.com> In-Reply-To: <7v4oyjc64z.fsf@gitster.siamese.dyndns.org> On Wed, Feb 25, 2009 at 2:44 AM, Junio C Hamano wrote: > Oh, and the value 'current' can be spelled as 'HEAD' already there. John - in case you missed this, the behavior you desire is already available: (next)$ git config remote.origin.push HEAD (next)$ git remote show origin [...] Local ref configured for 'git push': HEAD pushes to next (fast forwardable) (next)$ git checkout master (master)$ git remote show origin [...] Local ref configured for 'git push': HEAD pushes to master (fast forwardable) j.