n8n-sync — Git-based version control for n8n Community Edition workflows
说明与用途
n8n-sync 为 n8n Community Edition 工作流提供 Git 版本控制,支持可读 diff、凭证映射和 CI 集成,无需 Enterprise 订阅。
问题
Self-hosted n8n Community Edition lacks built-in version control, leading to manual export, commit, and credential fixes when promoting workflows.
结果
n8n-sync enables version-controlled, diffable, and credential-mapped n8n workflows without Enterprise subscription, facilitating CI/CD and rollback.
工作流
- n8n-sync init
- n8n-sync pull
- n8n-sync diff --check
- n8n-sync push --dry-run
- n8n-sync push
证据
I got tired of manually exporting workflow JSON, committing it, and fixing credentials by hand when promoting from staging to production.
n8n-sync pull — exports all workflows to normalized JSON files (readable diffs!)
diff --check exits 1 on drift — perfect for CI pipelines
- 记录日期: 2026-10-19T01:41:04.808Z