LWN.net Logo

Good idea!

Good idea!

Posted Mar 19, 2012 16:03 UTC (Mon) by danieldk (guest, #27876)
In reply to: Good idea! by dskoll
Parent article: Git project seeks discussion on "push" change

Indeed, I always disliked the standard push behavior, but was (apparently) too lazy to find this option.


(Log in to post comments)

Good idea!

Posted Mar 19, 2012 16:38 UTC (Mon) by aorth (subscriber, #55260) [Link]

I agree, I think 'upstream' is a more sensible default. I was always confused by the default behavior... this helps. :)

git option documentation

Posted Mar 19, 2012 17:13 UTC (Mon) by ballombe (subscriber, #9523) [Link]

You are not too lazy.

Options for 'git foo' should be documented in 'git help foo', but this is often not the case. Instead push.default is only documented in 'git help config', so basically you will not find about it unless you know it exists.

If options were documented properly, there would probably be less complains about default behaviors.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds