aligntrue remotes
Manage remote destinations for rule sync. Use this when you want explicit control over pushes (e.g., with auto: false) or to see routing diagnostics.
aligntrue remotes status
Show configured remotes, routing (by scope/pattern), and last push info.
Usage:
aligntrue remotes statusBehavior:
- Solo mode: all rules route to
remotes.personalunless a rule isscope: sharedand a shared remote exists. - Team/enterprise:
scope: personal→remotes.personal;scope: shared→remotes.shared;scope: teamstays in repo. Custom remotes are additive in all modes. - Detects conflicts where a URL is both a source and a remote.
aligntrue remotes push
Push rules to configured remotes. Useful when you set auto: false on a remote or want an explicit push outside aligntrue sync.
Usage:
aligntrue remotes push [options]Options:
| Flag | Description | Default |
|---|---|---|
--dry-run | Preview without pushing | false |
--force | Push even if no changes are detected | false |
Notes:
- By default remotes push during
aligntrue syncunless you setauto: falseon the remote. - Files can go to multiple remotes when
remotes.custompatterns match. - For routing details, see Rule sharing & privacy.
Last updated on