-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect bogus PRs #268
Comments
I'm setting this as low-prio as it is a minor usability issue. Pro-tip: use |
BTW, the tool was created with a triangular workflow in mind, i.e. always using forks to create PRs from, so there might be more areas where it behave funnily if you just use one remote. |
corporate environment here…
I sometimes use that mode, but then I have to follow up with |
I'm deeply sorry :)
Right. But you have a similar problem with your second case, actually your local |
That’s what I thought too at some point. But not a problem with recent gits;
But then I have to type the feature branch name twice :-) |
¯_(ツ)_/¯ To be honest I feel like this feature request is just not worth it. Reasons are:
But if there is an implementation that doesn't involve adding new API requests (I think it is also not worth slowing down every call to |
BTW, if you use git hub pull new -c joachinm/feature
git branch -m [Alt-.] |
Yes, absolutely, if you are reluctant adding this that’s totally fine. I was hoping all information is already easily present (e.g. seeing that |
Yeah, I didn't thought about it in depth, but it probably can be done without querying the API. I'll leave it open in case someone wants to pick it up. |
I usualy do
or
Sometimes I mix the two up, and end up doing
which pushes my changes to
master
, and then tries to create a PR against master, which fails (no commits).It would be great if
git hub pull new
would detect that it would push to the base branch, and just abort with a message and without doing anything.The text was updated successfully, but these errors were encountered: