Skip to content

Detect bogus PRs #268

Open
Open
@nomeata

Description

@nomeata

I usualy do

git checkout -b joachim/feature
git commit
git hub pull new

or

git commit
git branch -m joachim/feature
git hub pull new

Sometimes I mix the two up, and end up doing

git commit
git hub pull new

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions