Skip to content

源代码控制和环境#

¥Source control and environments

Feature availability

  • Available on Enterprise.
  • You must be an n8n instance owner or instance admin to enable and configure source control.
  • Instance owners and instance admins can push changes to and pull changes from the connected repository.
  • Project admins can push changes to the connected repository. They can't pull changes from the repository.

n8n 使用基于 Git 的源代码控制来支持环境。将 n8n 实例链接到 Git 仓库,即可创建多个由 Git 分支支持的 n8n 环境。

¥n8n uses Git-based source control to support environments. Linking your n8n instances to a Git repository lets you create multiple n8n environments, backed by Git branches.

本节:

¥In this section:

¥Understand:

¥Set up source control for environments: How to connect your n8n instance to Git.

¥Using:

¥Tutorial: Create environments with source control: An end-to-end tutorial, setting up environments using n8n's recommended configurations.

相关章节:

¥Related sections:

¥Variables: reusable values.

¥External secrets: manage credentials with an external secrets vault.