Comments (9)
Any update here? I'd like to see the option of enforcing this without the button present. Devs can rebase on their local and push rather than use the button.
from 404-pagenotfound.
https://github.com/motakbiri/UpdateBranchRemover/
from 404-pagenotfound.
@rsp we don't "disable" the button as you may be thinking, we just remove the check forcing branches to be up-to-date with master. Personally, I prefer to keep this ON, but as @luisfmsouza said, it adds some misunderstanding on novice people and difficult contributions with some kind of invisible contribute wall
rule!
So far, so good! We had no problems without this option 🙂
from 404-pagenotfound.
@luisfmsouza I have a different opinion about this point. I like to enforce branches to be up-to-date with master always, so the "Update branch" button is just a try, exactly, to prevent asking people to do rebasing themselves.
Even though your print is showing a noisy, the master timeline is kept untouched and clean
How to garantee the PR is up-to-date with master and we are not loosing anything? I'm not sure if only in conflicted state this could happen...
Anyway, I'll change the settings and we can give it a try ✌️
from 404-pagenotfound.
Let's try it.
from 404-pagenotfound.
Sorry for an off-topic question but how have you managed to disable the 'Update branch' button? I was sure that it is impossible to disable it (see those comments).
from 404-pagenotfound.
@rsp we don't "disable" the button as you may be thinking, we just remove the check forcing branches to be up-to-date with master. Personally, I prefer to keep this ON, but as @luisfmsouza said, it adds some misunderstanding on novice people and difficult contributions with some kind of
invisible contribute wall
rule!So far, so good! We had no problems without this option 🙂
This was extremely valuable information for me! I'm glad you shared it! 👍
I added the "Require status checks to pass before merging" rule with the aforementioned "Require branches to be up to date before merging" rule at the beginning of a testing period. Because of the low intensity of coding (to main branch), we did not come across the "Update Branch" button for days and on one hand, I forgot I added such a rule, and more importantly,
I expected this button to rebase the PR HEAD branch onto the base branch but instead, it creates a merge commit. We use rebase everywhere, so we'd like to avoid merges. This way, we had to manually rebase our branches which was a headache. Currently, the update strategy of the Update Branch button cannot be configured. Actually, there is an issue related to this: isaacs/github#1419
from 404-pagenotfound.
I can't find this checkbox in Settings?
Edit: found it under Settings->Branches->Branch protection rules->Edit button
from 404-pagenotfound.
Enabled it!
from 404-pagenotfound.
Related Issues (17)
- Add cool 404 page to the list
- Blizzard's 404 page link in README.md is incorrect
- Add pages to ranking
- Some fun pages HOT 4
- Remove Udemy.com HOT 2
- Fix logo HOT 2
- Add unit-tests for checkorder.js HOT 1
- Add .idea to gitignore
- Add https://medium.com/404 page to the list HOT 1
- Add https://www.linkedin.com/404 page to the list
- Add https://travis-ci.org/404 page to the list HOT 1
- Add https://www.adobe.com/404 page to the list HOT 1
- Add https://google.com/404 page to the list HOT 3
- Add https://www.codenation.com.br/404 page to the list
- Fix the build HOT 1
- Add https://www.codacy.com/404 page to the list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 404-pagenotfound.