Torii ⛩️
A human-first Git client. Simpler commands, built-in safety nets, and multi-platform support — designed for developers who want to focus on code, not version control syntax.
Git was designed for Linus, by Linus. Torii is designed for everyone — including AI.
Install
Or build from source:
Quick start
# Save your work (replaces git add + git commit)
# Stage specific files only
# Sync with remote (pull + push)
# Push only
Command reference
Core
| Command | Description |
|---|---|
torii init |
Initialize a repository |
torii save -m "msg" |
Commit staged changes |
torii save -am "msg" |
Stage all and commit |
torii save <files> -m "msg" |
Stage specific files and commit |
torii save --amend -m "msg" |
Amend last commit |
torii save --revert <hash> -m "msg" |
Revert a commit |
torii save --reset <hash> --reset-mode soft |
Reset to commit |
torii sync |
Pull and push |
torii sync --push |
Push only |
torii sync --pull |
Pull only |
torii sync --force |
Force push |
torii sync --fetch |
Fetch without merging |
torii sync <branch> |
Integrate branch (smart merge/rebase) |
torii sync <branch> --merge |
Force merge strategy |
torii sync <branch> --rebase |
Force rebase strategy |
torii sync <branch> --preview |
Preview without executing |
torii status |
Repository status |
torii diff |
Show unstaged changes |
torii diff --staged |
Show staged changes |
torii diff --last |
Show last commit diff |
Branches
Tracked files
Inspect
History
Security scanner
Runs automatically before every torii save. Detects JWT tokens, AWS keys, GitHub/GitLab tokens, Stripe keys, PEM private keys, database connection strings with credentials, and generic API keys. Files named *.example, *.sample, or *.template are always allowed.
Snapshots
Snapshots are local saves — not commits. Use them before risky operations.
Tags
torii tag release reads your commits since the last tag and bumps the version following Conventional Commits:
feat:→ minor bumpfix:/perf:→ patch bumpfeat!:/ breaking → major bump
Mirrors
Mirror your repository across multiple platforms simultaneously.
Supported platforms: GitHub, GitLab, Codeberg, Bitbucket, Gitea, Forgejo, SourceHut, SourceForge, and any custom Git server.
Remote repository management
Create and manage repositories directly from the CLI:
# Batch operations across platforms
Config
Other
Why Torii?
| Git | Torii |
|---|---|
git add . && git commit -m "msg" |
torii save -am "msg" |
git pull && git push |
torii sync |
git switch -c branch |
torii branch branch -c |
git fetch |
torii sync --fetch |
git reset --soft HEAD~1 |
torii save --reset HEAD~1 --reset-mode soft -m "msg" |
git rebase -i HEAD~3 |
torii history rebase HEAD~3 -i |
git stash push -u |
torii snapshot stash -u |
git log --oneline --author X |
torii log --oneline --author X |
git ls-files |
torii ls |
git show HEAD |
torii show |
git blame src/main.rs |
torii show src/main.rs --blame |
| Push to 3 platforms | torii mirror sync |
| Hunt for exposed secrets | torii history scan --history |