Jay Soffian <jaysoffian@xxxxxxxxx> writes: > On Wed, Feb 25, 2009 at 2:44 AM, Junio C Hamano <gitster@xxxxxxxxx> 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) Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html