Thread (15 messages) flat view 15 messages, 8 authors, 2016-06-15

Re: git push default behaviour?

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:53:15

On Thu, Mar 8, 2012 at 7:00 PM, Marc Branchaud [off-list ref] wrote:
Perhaps --force should be changed to require an explicit ref if push.default
= matching (and the code finds that it needs to use push.default's value)?
No, it will workflow for some people. In general, --force should not be
used, but when it is used, it is used for a reason. If you need another
behavior like forcing only the current branch then you probably should add
--force-current or something like that, but not to break what works now.

Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help