divekit patch files
Apply file patches to projects within a distribution
Synopsis
Apply file updates and explicit file operations to all repositories in a distribution.
This is the explicit form of the legacy file patch command:
divekit patch files README.md
The legacy shorthand remains available:
divekit patch README.md
Usage
divekit patch files [file1] [file2...] [flags]
Flags
--delete stringArray Delete a repository-relative file path from distributed repositories (repeatable)
--delete-dir stringArray Delete all files below a repository-relative directory path from distributed repositories (repeatable)
--disable-eval-pages-unique-domain Disable unique GitLab Pages domains for eval repositories
-d, --distribution string Distribution name
-n, --dry-run string[="true"] Preview changes without applying (alias for --provider simulated)
--force Force writing patch files even when remote content already matches
-m, --message string Commit message for the patch
--move stringArray Move a repository-relative file path using old/path:new/path (repeatable)
-p, --provider string Provider to use: gitlab (default), local (filesystem), simulated (dry-run)
--rate-limit float Maximum tasks per second (0 = unlimited)
-r, --remote string Remote repository URL (e.g. GitLab instance)
--task-timeout duration Maximum time per task (0 = use preset)
-t, --token string GitLab token or token file path (file:///...)
--warn-unresolved-tokens string Warn about unresolved tokens: auto|true|false (default "auto")
-w, --workers int Number of concurrent workers (0 = use preset)
Inherited Flags
-l, --loglevel string log level (debug, info, warn, error, fatal) (default "info")
--no-index skip project index update
--non-interactive run in non-interactive mode (fails if interactive input is required)
-y, --yes assume yes/default for all prompts (non-interactive with automatic defaults)