Craft your forge // Build your project // Grow your community freely
1<!--
2SPDX-FileCopyrightText: 2026 Romain Maneschi <romain@gitroot.dev>
3 4SPDX-License-Identifier: CC-BY-SA-4.0
5--> 6 7# Repository Configuration
8 9This file is present in every repositories of GitRoot, even in the root repository.
1011It contain some properties:
1213```yml
14defaultbranch: main
15noforcepush:
16 - main
17nbmaxbranchesbeforerejectinganonymous: 1018```1920If you want to force push to your `defaultbranch` of your repository you need to edit. See [force push documentation](../how-tos/force_push.md) for more details.
2122The `nbmaxbranchesbeforerejectinganonymous` permit to set how many branches you want before rejecting anonymous users. It avoid to be spammed by unwanted fake contributions. By default, the value is the same as [the forge configuration](./root_repository.md#forgeconfigyml) `nbmaxbranchesperprojectbeforerejectinganonymous` property.