You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--preserve-path`: in squash mode, restore specific files (like CI configs) from your base branch.
53
+
-`--restore-path`: in squash mode, restore specific files (like CI configs) from your base branch.
54
54
-`--output-branch`: pick a custom branch name.
55
55
-`--push`: push the result to `origin` automatically.
56
56
@@ -89,8 +89,8 @@ Default squash but **preserve** CI/workflows from the base branch:
89
89
90
90
```shell
91
91
kubebuilder alpha update --force \
92
-
--preserve-path .github/workflows \
93
-
--preserve-path docs
92
+
--restore-path .github/workflows \
93
+
--restore-path docs
94
94
```
95
95
96
96
Use a custom output branch name:
@@ -140,8 +140,8 @@ make all
140
140
|`--to-version`| Kubebuilder release to update **to** (e.g., `v4.7.0`). If unset, defaults to the latest available release. |
141
141
|`--from-branch`| Git branch that holds your current project code. Defaults to `main`. |
142
142
|`--force`| Continue even if merge conflicts happen. Conflicted files are committed with conflict markers (CI/cron friendly). |
143
-
|`--show-commits`| Keep full history (do not squash). **Not compatible** with `--preserve-path`. |
144
-
|`--preserve-path`| Repeatable. **Squash mode only.** After copying the merge tree to the output branch, restore these paths from the base branch (e.g., `.github/workflows`). |
143
+
|`--show-commits`| Keep full history (do not squash). **Not compatible** with `--restore-path`. |
144
+
|`--restore-path`| Repeatable. **Squash mode only.** After copying the merge tree to the output branch, restore these paths from the base branch (e.g., `.github/workflows`). |
145
145
|`--output-branch`| Name of the output branch. Default: `kubebuilder-update-from-<from-version>-to-<to-version>`. |
146
146
|`--push`| Push the output branch to the `origin` remote after the update completes. |
0 commit comments