[FEATURE] Prevent 'git push' creates new branch
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Our environment has naming standards for our "official repo". Folks are expected to fork the official source, do whatever they want in their copy, and submit an MR.
From time to time, folks with elevated rights end up cloning the wrong repo and pushing their playground branches into the "official copy". This is a bit frustrating.
Protect Branches cannot solve this very well as, when set to *
with Merge=None
and Push=None
the rebase
button doesn't work on any branches - even when explicitly listed under Protect Branches
.
Edited by 🤖 GitLab Bot 🤖