Duplicate

Duplicates a formula on the local registry.

Usage

Use the duplicate command to copy a formula:

Terminal
g0 duplicate <formula-name> <new-formula-name>

Use the @ notation to specify a specific version to copy from and/or to:

Terminal
g0 duplicate <formula-name>@<version> <new-formula-name>@<version>

The duplicate command is particularly useful for:

  • Renaming formulas
  • Forking formulas

On this page