GitHub should have an option to disable the suggestion of "Compare & Pull Request" #116576
Replies: 7 comments
-
|
Another disadvantage is that if you touch that button you want to merge directly to the main branch. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting in the GitHub Community, @SCodify ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
still not resolved. Please check, its not a good user experience. |
Beta Was this translation helpful? Give feedback.
-
|
I completely agree with this suggestion. Not all repositories use branches as staging areas for PRs. Many projects use branches for version management... and yes, I know tags exist for versioning, but branches work better for certain workflows, especially when:
In these cases, the main branch might just hold documentation, while version-specific code lives on separate branches that get linked in releases. For these workflows, the "Compare & Pull Request" suggestion isn't just unnecessary... it's actively annoying since you're never planning to merge those branches. Having an option to disable it would be a huge UX improvement. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same suggestion. It's 2026 and apparently there's still no solution. |
Beta Was this translation helpful? Give feedback.
-
|
I have a similar suggestion too. Currently, my solution is to create a pull-request and close it immediately. Everything works fine again. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
General
Body
Supposedly this is a GitHub feature to make it easier to create Pull Requests after pushing to a branch. Currently, GitHub does not provide an option to disable these suggestions in the user interface. These suggestions are shown to all users who have write permissions on the repository when they push to a branch.
While one cannot disable these messages, one can choose to ignore them if one does not wish to create a Pull Request at that time. I think that being able to disable these suggestions should be an option because sometimes it is annoying and often accumulate messages from "Compare & Pull Request".
Beta Was this translation helpful? Give feedback.
All reactions