Re: [PATCH v3 0/8] Introduce publish tracking branch

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

 



Felipe Contreras <felipe.contreras@xxxxxxxxx> writes:

> * Override other configurations (such as push.default)

I think I convinced myself that this is the right way to go since my
last message. After all, "push.default" is, by definition, just a
default.

> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -764,6 +764,13 @@ branch.<name>.mergeoptions::
>  	option values containing whitespace characters are currently not
>  	supported.
>  
> +branch.<name>.push::
> +	Defines, together with branch.<name>.pushremote, the publish branch for
> +	the given branch. It tells 'git push' which branch to push to, and
> +	overrides any other configurations, such as push.default. It also tells
> +	commands such as 'git status' and 'git branch' which remote branch to
> +	use for tracking information (commits ahead and behind).
> +

Good.

I think this text should mention the @{publish} shorthand too. Stg like
"This branch can be refered to as @{publish} when specifying revision
(see linkgit:gitrevisions[7])."

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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]