Checkbox not enabled when creating PR from hub.
This is really causing a hiccup in my CLI workflow. Does anyone know where in the API this can be enabled? I took a look but couldn't find anything.
Sorry folks, this feature is not yet exposed in GitHub API. I'm interested in having the option (on by default?) once it's possible.
my vote would be off by default since i'd rather others send PRs to my branch than push directly to them. that workflow preserves the safety needed to force push to your own branch
my vote would be off by default since i'd rather others send PRs to my branch than push directly to them. that workflow preserves the safety needed to force push to your own branch
Github has it on by default. Since this is a CLI tool geared in large part specifically for github, it should do whatever the website does by default.
That's true, but it's also targeted at power users that are more likely to force push. Seems like at least worth being configurable in the hub
section of ~/.gitconfig
I would vote for on by default and configurable.
The default seems to have recently changed from off to on. It would be nice to be able to configure this because that was pretty surprising to see the behavior change overnight with no way to control except through the GUI after the fact.
I agree that this should be configurable. I also agree that the default should be whatever is the default in the web UI, which is "on". I'll check with my colleagues whether there is a plan to expose this through the API.
I'm too for a setting which would make the default state of that checkbox configurable.
Present in API https://developer.github.com/v3/pulls/#update-a-pull-request
Most helpful comment
I agree that this should be configurable. I also agree that the default should be whatever is the default in the web UI, which is "on". I'll check with my colleagues whether there is a plan to expose this through the API.