2 ms·
No, there is no process in Github to allow everyone to push to a certain branch (or branches matching some regex). Github forces people without collaborator rig
by majewsky 9y ago
No, there is no process in Github to allow everyone to push to a certain branch (or branches matching some regex). Github forces people without collaborator rights to use forks.
I've seen this lead to confusion where people fork a repo and send PRs even though they have contributor rights, because they didn't understand the difference. As an extreme example: https://github.com/flystack/misty/pull/101 https://github.com/flystack/misty/pull/101 - This is a repo with only one person with write access [1]. Yet this same person only commits to their private fork of this repo and sends himself PRs that he then immediately merges. I don't mean to blame the developer, only the Github UX.
[1] It says "6 contributors" on the mainpage of the repo, but four of these are from my team and we definitely don't have write access.