Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: git push · Junio C Hamano <hidden> · 2016-06-15
  • Re: git push · Jeff King <hidden> · 2016-06-15
  • Re: git push · John Tapsell <hidden> · 2016-06-15
  • Re: git push · Jay Soffian <hidden> · 2016-06-15

Re: git push

From: Jay Soffian <hidden>
Date: 2016-06-15 22:46:17

On Wed, Feb 25, 2009 at 2:44 AM, Junio C Hamano [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help