What is github 'compare & pull request'

GitGithubGit BranchPull Request

Git Problem Overview


I am working on a MeteorIntegration (feature) branch that is published. I did a git push assuming the push was going to the checked-out branch MeteorIntegration:

And now I see the following on both master and MeteorIntegration branches.

github snap

I read github documentation: Closing a pull request and Tidying up Pull Requests but that didn't help, possibly because I am not dealing with a pull request here?

How do I get rid of this compare & pull request?

Git Solutions


Solution 1 - Git

You don't actually have a pull request; GitHub just sees that you've pushed a branch, and is offering to create a pull request for it if you want.

If you don't care about that, just ignore it. It's completely harmless and will go away as soon as GitHub doesn't think the branch is "recent".

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionManav KatariaView Question on Stackoverflow
Solution 1 - GitEeveeView Answer on Stackoverflow