Re: git push default behaviour?

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

 



In response to
http://git-blame.blogspot.com/2012/03/please-discuss-what-git-push-should-do.html:

I think either 'current' or 'upstream' is a better default than
'matching', since it's less likely to surprise newbies.  However, I
cannot decide which of 'current' or 'upstream' is the best choice.  It
might be worthwhile to have 'git push' warn when someone has
push.default = current or push.default = upstream, AND when @{u} has a
different name than the local branch -- in other words, emit a warning
when 'upstream'' and 'current' refer to different branches.  The
warning itself should be turn-off-able, since it would get pretty old
pretty quickly.

--
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]