This command takes an input resource and creates an exact copy. This helps you to transfer metadata from one step to the next.
from_resourceis the name of the
inputResourcesresource that you're copying from.
to_resourceis the name of the
outputResourcesresource that will receive the replicated data from the
from_resource.Any pre-existing files or key-value pairs in the
to_resourcewill be replaced.
match-settingsoption should be set when you want the replication to adhere to any branch/tag settings in the
to_resource. For example, If your
from_resourcegitRepo can trigger on both commits and pull requests, but you only want to update your
to_resourceon commits, you can replicate with --match-settings, and the
to_resourcewill only be updated when the
from_resourcehad a commit.