Purpose
Sync tag git metadata between source and destination.
Location
git/tag/sync.sh
Preconditions
- Required tools:
bash - Required permissions: read/write depending on source and destination
- Required environment variables: none
Arguments
| Flag | Required | Default | Description |
|---|---|---|---|
--source PATH |
Yes | N/A | Source path/identifier |
--destination PATH |
Yes | N/A | Destination path/identifier |
--json |
No | false |
Emit JSON output |
--dry-run |
No | false |
Print actions only |
Usage
git/tag/sync.sh --source ./src --destination ./dst --dry-run
Output
- Exit codes:
0success,2invalid arguments.