Description
This command takes an input resource and creates an exact copy. This helps you to transfer metadata from one step to the next.
Usage
Shell | Function |
|---|---|
Bash |
|
PowerShell |
|
from_resourceis the name of theinputResourcesresource that you're copying from.to_resourceis the name of theoutputResourcesresource that will receive the replicated data from thefrom_resource.Any pre-existing files or key-value pairs in theto_resourcewill be replaced.match-settingsoption should be set when you want the replication to adhere to any branch/tag settings in theto_resource. For example, If yourfrom_resourcegitRepo can trigger on both commits and pull requests, but you only want to update yourto_resourceon commits, you can replicate with --match-settings, and theto_resourcewill only be updated when thefrom_resourcehad a commit.