Jay Soffian [off-list ref] writes:
On Wed, Feb 25, 2009 at 2:44 AM, Junio C Hamano [off-list ref] wrote:
quoted
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.