craft your forge, build your project, grow your community freely
1<!--
2SPDX-FileCopyrightText: 2025 Romain Maneschi <romain@gitroot.dev>
3 4SPDX-License-Identifier: CC-BY-SA-4.0
5--> 6 7# Create a repository
8 9To create a repository you can simply add the lines corresponding and GitRoot will create it.
1011Open `.gitroot/repositories.yml` in the root repository:
1213```diff
14root:
15 defaultbranch: main
16 owners: []
17+ repo1:
18+ defaultbranch: main
19+ owners:
20+ - your_pub_ssh
21+ - ssh-ed25519 AAA...
22```2324By default GitRoot use `main` has [defaultBranch](../technicals/default_branch.md) but you can put every name you like.
2526Commit your change and push `git add . && git commit -m "create repo1 repository" && git push`. When the change will be in the [defaultBranch](../technicals/default_branch.md) GitRoot will create it.