2026-05-21: Changes to default repository options

Forgejo defaults to not enable the following two repository options globally for new repos (and currently has no option to enable them by default either):

  • Delete pull request branch after merge by default
  • Allow edits from maintainers by default

We have patched this option in our custom Forgejo build. New repos will have these options enabled by default from now on.

We are aware that especially the first option might be disputable and not everyone might like it. However, doing so will have a very positive effect on implicit housekeeping for repositories. There are many repos which forget about this entirely and carry dozens of branches around. These are then getting copied and pulled by many others in forks and local builds - for no reason. Yet they take space - space that could be saved!

3 Likes