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# Delete a repository
8 9To delete a repository you can simply delete the lines conresponding and GitRoot will delete it.
1011Open `.gitroot/repositories.yml` in the root repository:
1213```diff
14root:
15 defaultbranch: main
16 owners: []
17- repo1:
18- defaultbranch: main
19```2021Commit your change and push `git add . && git commit -m "delete repo1 repository" && git push`. When the change will be in the [defaultBranch](../technicals/default_branch.md) GitRoot will delete it.