Remove source branch after merge should be checked by default
Problem to solve
For most common development flows it makes sense to delete the branch after it's merged into master. Not doing so can leave around many unnecessary branches which may take up more storage in git as a consequence but at the very least it's annoying when listing all branches. Having this option unchecked by default will mean that most people will either forget to check it or won't know that they're supposed to and so there will be many branches left around that people don't want.
Intended users
- Parker (Product Manager)
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Presley (Product Designer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
- Sam (Security Analyst)
- Dana (Data Analyst)
Further details
Started from an internal slack thread where we found the number of branches in www-gitlab-com seems to be growing exponentially and there are 4389 leftover.
Proposal
Make the "remove source branch" option checked by default. Or at least making this customizable per instance, group, project or whichever seems most sensible.