Import from Git
Convert an existing Git repository into a Trellis repository:
trellis import --from /path/to/git-repo
Git commits become Trellis milestones, preserving your history while gaining graph-native capabilities.
Export to Git
Export Trellis milestones back to Git commits:
trellis export --to /path/to/output-dir
This creates a Git repository where each Trellis milestone becomes a Git commit.
Coexistence
Trellis can coexist with Git in the same directory. The .trellis/ directory is independent of .git/. You can use both systems simultaneously during migration.