Disable "had recent pushes" banner for some branches #35200
Replies: 136 comments 15 replies
-
I vote for this change |
Beta Was this translation helpful? Give feedback.
-
I agree with this. Or when I PR and merge into one branch, between the two they still say there's a difference, and when it shows the difference, it's comparing with a previous commit. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
That would be awesome, kinda annoying when your main branch is develop and you push something to "main" |
Beta Was this translation helpful? Give feedback.
-
Just ran into this suggestion. I was surprised this is not an option in branch protection rules. |
Beta Was this translation helpful? Give feedback.
-
Has there been any movement on this? I also think this would be a great feature especially for branches that have automatic processes occurring on them. |
Beta Was this translation helpful? Give feedback.
-
I have a GitHub action that updates data in a separate branch and its a pain to see this every time I log in. |
Beta Was this translation helpful? Give feedback.
-
+1 would like to see that too. |
Beta Was this translation helpful? Give feedback.
-
I agree this is a pain for the common "develop" > "staging" > "master" branch workflow where the active branch is the "develop" one. This situation is quite common. |
Beta Was this translation helpful? Give feedback.
-
This is also unhelpful for orphan branches that shouldn't merge back into the default/main/master/trunk |
Beta Was this translation helpful? Give feedback.
-
+1 would be great to see |
Beta Was this translation helpful? Give feedback.
-
+1 This is annoying me a bit since I have an automatically managed branch that nobody needs to see any notification about. |
Beta Was this translation helpful? Give feedback.
-
This has my upvote, too. As a solo maintainer... It's distracting clutter for me. |
Beta Was this translation helpful? Give feedback.
-
+1 Also consider orphan branches. It makes no sense to show them, even according to your own existing messages. Opening a PR from an orphan branch shows: |
Beta Was this translation helpful? Give feedback.
-
Can we at least get a dismiss button to make them go away? It is so infuriating having to look at these with no way to say NO! |
Beta Was this translation helpful? Give feedback.
-
+1 for oprhan branches |
Beta Was this translation helpful? Give feedback.
-
in my testing creating a single draft PR on that branch will prevent this banner being shown, even on further commits. Perhaps it will show up in a few days, though ;) To be clear this is still annoying, but at least it clutters the PR section not the main view. |
Beta Was this translation helpful? Give feedback.
-
When protecting branches it should be possible to specify a branch to never be treated as a source (compare) side of a Pull Request.
This is a common scenario where
develop
is merged intomaster
ormain
, at the end of a change, to trigger specific CD release workflows, and changes are never merged frommaster
intodevelop
.Declaring the
develop
branch instead ofmaster
as the default branch is useful. GitHub shows the content of this branch on the repository page, and it prevents new Pull Request from accidentally targeting themaster
branch.The problem with this approach is this banner that makes it easy to think
master
needs merging back intodevelop
. The only difference between the two branches is the merge commit generated by the pull request.Please make it possible to disable this banner for selected branches.
Beta Was this translation helpful? Give feedback.
All reactions