Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(claude): allow committing small changes directly on main
Elian Doran6bbe1b2a65ed
diff --git a/CLAUDE.md b/CLAUDE.mdindex 6c14ee2f50..b72f19f471 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -39,6 +39,12 @@ pnpm typecheck # TypeScript type check across all projects**Running a single test file**: `pnpm --filter server test spec/etapi/search.spec.ts`+## Git Workflow++- **Committing directly on `main` is allowed and expected** for small fixes and self-contained features — do **not** create a branch first for those. The default "branch before committing on the default branch" rule does not apply to this repository.+- **Large or risky work goes on a branch**: multi-commit features, migrations, refactors spanning many packages, anything that needs review or a PR before landing.+- Only commit when explicitly asked to in that message; leave changes staged/unstaged for review otherwise.+## Main ApplicationsThe four main apps share `packages/trilium-core/` for business logic but differ in runtime: