craft your forge, build your project, grow your community freely
1# GitRoot
2 3Welcome in your new git repository.
4 5## First configure your repo
6 7GitRoot force to use signed commit. Configure your git client for this repository by executing:
8 9```sh
10.gitroot/init.sh
11```1213> Don't want to run unknown sh? See [manually init client](https://gitroot.dev/doc/how-tos/manual_init_client.html).
1415## Add collaborators
1617In any GitRoot repository you will find a `.gitroot/users.yml` file. To add a user just append its informations in the right group.
1819```yml
20owner:
21branches:
22 - name: main
23users:
24 - pseudo: GitRoot
25avatar: ""26emails:
27 - GitRoot@yourinstance.com
28ssh:
29 - SSH
30 - pseudo: You
31avatar: ""32emails:
33 - you@yourinstance.com
34ssh:
35 - SSH
36group:
37branches:
38 - name: main
39users:
40 - pseudo: PSEUDO
41avatar: ""42emails:
43 - EMAIL
44ssh:
45 - SSH
46```4748`group` is the group name where user will reside. You can choose any name you want, gitroot don't use it (but don't delete owner group). Group is just a convenience way to group users.
4950Each group manage `branches`. Every branch name in this group means only user of this group can write to them. All others branches will be "open" and anyone can write to them.
5152Each group have `users`. A user is at least a ssh key. All others informations are here for convience and not used by gitroot (today).
5354## Active plugins
5556In any GitRoot repository you will find a `.gitroot/plugins.yml` file. It contain all plugins available in your instance. To active one, just change the boolean `active` to `true`, commit and push.
5758## Need more?
5960Read the official [https://gitroot.dev/doc/](https://gitroot.dev/doc/).