Re: git push

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux