Config
Hierarchical configuration โ global defaults, local overrides.
Config files
| Scope | Path | Priority |
|---|
| Global | ~/.config/torii/config.toml | Base |
| Local | .torii/config.toml | Overrides global |
Commands
$ torii config set user.name "Alice"
$ torii config set user.name "Alice" --local
$ torii config get user.name
$ torii config list
$ torii config edit
$ torii config reset
All keys
| Key | Default | Description |
|---|
user.name | โ | Commit author name |
user.email | โ | Commit author email |
user.editor | $EDITOR | Preferred editor |
git.default_branch | main | Default branch for new repos |
git.sign_commits | false | GPG sign commits |
git.pull_rebase | false | Use rebase on pull |
snapshot.auto_enabled | false | Auto snapshots |
snapshot.auto_interval_minutes | 30 | Auto snapshot interval |
mirror.default_protocol | ssh | ssh or https |
auth.github_token | โ | GitHub personal access token |
auth.gitlab_token | โ | GitLab personal access token |
ui.colors | true | Colored output |
ui.emoji | true | Emoji in output |