merge
cli_command: merge
- source
Since: 0.10.0
def merge(
*,
name: str = "",
config_path_opt: str = "",
src_root_opt: str = "",
dest_filter: list[str] = [],
dry_run: bool = False,
include: list[str] = [],
exclude: list[str] = [],
) -> None: ...
Reconcile destination changes into src before the next copy.
Recovers the last-synced base from both repos' histories, prefers the changed side, and combines non-overlapping changes. Writes and commits src, then prints the copy hint. merge never runs copy.
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --name |
str |
'' |
Config name |
-c, --config-path |
str |
'' |
Full path to config file |
--src-root |
str |
'' |
Source repo root |
-d, --dest |
list[str] |
[] |
Destination filter (repeatable or comma-separated) |
--dry-run |
bool |
False |
Print classifications without writing |
-i, --include |
list[str] |
[] |
Keep paths matching pattern |
-e, --exclude |
list[str] |
[] |
Drop paths matching pattern |
Changes
| Version | Change |
|---|---|
| 0.10.0 | Made public |