Disable "had recent pushes" banner for some branches #35200
Replies: 162 comments 19 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 | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
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.
-
| +1 please | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| +111111 | 
Beta Was this translation helpful? Give feedback.
-
| +1, especially useful for personal repos where some branches are never meant to be merged into main | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| For those still here: I've made a TamperMonkey script to remove the banner. This could be further customized for conditionals, but I just never want to see it, so I removed it completely. https://github.com/J0E-E/gh-recently-touched-banner-remover | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| I just noticed the link to my TM script wasn't working, I just updated it. It should work now. | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| +1 | 
Beta Was this translation helpful? Give feedback.
-
| bump | 
Beta Was this translation helpful? Give feedback.
-
| Yes let's please implement this. | 
Beta Was this translation helpful? Give feedback.
-
| Waiting patiently since 2017 for this. I'd accept all AI being removed from the world in exchange for this one feature. | 
Beta Was this translation helpful? Give feedback.
-
| +1, we have a pattern for automatic pushes that should be separate from other feature branches, would be great to never have the banners for that pattern Edit: worked around this by pushing tags for the commits instead of branches. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
developis merged intomasterormain, at the end of a change, to trigger specific CD release workflows, and changes are never merged frommasterintodevelop.Declaring the
developbranch instead ofmasteras 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 themasterbranch.The problem with this approach is this banner that makes it easy to think
masterneeds 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