Define template for revert branch names
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to Solve
When reverting a commit or merge request in GitLab a branch is created to perform the revert that is named revert-COMMIT_SHA
. This branch may not match organizational policies for branch names or conflict with project configured push rules.
Proposal
GitLab should provide an optional project level configuration that allows the revert branch naming methodology to be set to meet organizational needs.
Additional Details
Some items to consider:
- It could be considered to implement a variable/template system similar to commit template variables
- Should branches be prepended or apended with
revert
(not editable by users) to make it clear that the branch is a revert - Could this leverage push rule configuration?
Edited by 🤖 GitLab Bot 🤖