@teambit/harmony.content.cli-reference 1.95.214 → 1.95.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +24 -12
- package/cli-reference.mdx +21 -3
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +24 -12
- package/dist/cli-reference.mdx.js +91 -5
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1693279117198.js → preview-1693474270980.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1490,20 +1490,20 @@
|
|
|
1490
1490
|
],
|
|
1491
1491
|
"examples": [
|
|
1492
1492
|
{
|
|
1493
|
-
"cmd": "bit create react ui/button",
|
|
1493
|
+
"cmd": "bit create react ui/button --aspect teambit.react/react-env",
|
|
1494
1494
|
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
|
-
"cmd": "bit create
|
|
1498
|
-
"description": "creates two components, '
|
|
1497
|
+
"cmd": "bit create node utils/is-string utils/is-number --aspect teambit.node/node",
|
|
1498
|
+
"description": "creates two components, 'utils/is-string' and 'utils/is-number' using the 'node' template from the 'node' aspect(env)"
|
|
1499
1499
|
},
|
|
1500
1500
|
{
|
|
1501
|
-
"cmd": "bit create
|
|
1502
|
-
"description": "creates
|
|
1501
|
+
"cmd": "bit create mdx docs/create-components --aspect teambit.mdx/mdx-env --scope my-org.my-scope",
|
|
1502
|
+
"description": "creates an mdx component named 'docs/create-components' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
1503
1503
|
},
|
|
1504
1504
|
{
|
|
1505
|
-
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@
|
|
1506
|
-
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
1505
|
+
"cmd": "bit create react ui/button --aspect teambit.react/react-env --env teambit.community/envs/community-react@3.0.3",
|
|
1506
|
+
"description": "creates a component named 'ui/button' from the teambit.react/react-env env and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react-env')."
|
|
1507
1507
|
}
|
|
1508
1508
|
]
|
|
1509
1509
|
},
|
|
@@ -3355,9 +3355,15 @@
|
|
|
3355
3355
|
]
|
|
3356
3356
|
},
|
|
3357
3357
|
{
|
|
3358
|
-
"name": "change-scope <
|
|
3358
|
+
"name": "change-scope <remote-scope-name>",
|
|
3359
3359
|
"alias": "",
|
|
3360
|
-
"options": [
|
|
3360
|
+
"options": [
|
|
3361
|
+
[
|
|
3362
|
+
"l",
|
|
3363
|
+
"lane-name <lane-name>",
|
|
3364
|
+
"the name of the lane to change its remote scope. if not specified, the current lane is used"
|
|
3365
|
+
]
|
|
3366
|
+
],
|
|
3361
3367
|
"description": "changes the remote scope of a lane",
|
|
3362
3368
|
"extendedDescription": "NOTE: available only before the lane is exported to the remote",
|
|
3363
3369
|
"group": "ungrouped",
|
|
@@ -3373,9 +3379,15 @@
|
|
|
3373
3379
|
"private": false
|
|
3374
3380
|
},
|
|
3375
3381
|
{
|
|
3376
|
-
"name": "rename <
|
|
3382
|
+
"name": "rename <new-name>",
|
|
3377
3383
|
"alias": "",
|
|
3378
|
-
"options": [
|
|
3384
|
+
"options": [
|
|
3385
|
+
[
|
|
3386
|
+
"l",
|
|
3387
|
+
"lane-name <lane-name>",
|
|
3388
|
+
"the name of the lane to rename. if not specified, the current lane is used"
|
|
3389
|
+
]
|
|
3390
|
+
],
|
|
3379
3391
|
"description": "EXPERIMENTAL. change the lane-name locally and on the remote (if exported)",
|
|
3380
3392
|
"extendedDescription": "",
|
|
3381
3393
|
"group": "ungrouped",
|
|
@@ -3591,7 +3603,7 @@
|
|
|
3591
3603
|
]
|
|
3592
3604
|
],
|
|
3593
3605
|
"description": "merge a local or a remote lane to the current lane",
|
|
3594
|
-
"extendedDescription": "by default, the provided lane will be fetched from the remote before merging.\nto merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag.\n\nwhen the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,\nthese components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead",
|
|
3606
|
+
"extendedDescription": "by default, the provided lane will be fetched from the remote before merging.\nto merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag.\n\nwhen the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,\nthese components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead.\n\nin case a component in both ends don't share history (no snap is found in common), the merge will require \"--resolve-unrelated\" flag.\nthis flag keeps the history of one end and saves a reference to the other end. the decision of which end to keep is determined by the following:\n1. if the component exists on main, then the history linked to main will be kept.\nin this case, the strategy of \"--resolve-unrelated\" only determines which source-code to keep. it's not about the history.\n2. if the component doesn't exist on main, then by default, the history of the current lane will be kept.\nunless \"--resolve-unrelated\" is set to \"theirs\", in which case the history of the other lane will be kept.\n2. a. an edge case: if the component is deleted on the current lane, the strategy will always be \"theirs\".\nso then the history (and the source-code) of the other lane will be kept.\n",
|
|
3595
3607
|
"private": true,
|
|
3596
3608
|
"remoteOp": true,
|
|
3597
3609
|
"arguments": [
|
package/cli-reference.mdx
CHANGED
|
@@ -1044,11 +1044,15 @@ a lane created from another lane contains all the components of the original lan
|
|
|
1044
1044
|
|
|
1045
1045
|
### lane change-scope
|
|
1046
1046
|
|
|
1047
|
-
**Usage**: `lane change-scope <
|
|
1047
|
+
**Usage**: `lane change-scope <remote-scope-name>`
|
|
1048
1048
|
|
|
1049
1049
|
**Description**: changes the remote scope of a lane
|
|
1050
1050
|
NOTE: available only before the lane is exported to the remote
|
|
1051
1051
|
|
|
1052
|
+
| **Option** | **Option alias** | **Description** |
|
|
1053
|
+
| ------------------------- | :--------------: | ------------------------------------------------------------------------------------------- |
|
|
1054
|
+
| `--lane-name <lane-name>` | `-l` | the name of the lane to change its remote scope. if not specified, the current lane is used |
|
|
1055
|
+
|
|
1052
1056
|
### lane alias
|
|
1053
1057
|
|
|
1054
1058
|
**Usage**: `lane alias <lane-name> <alias>`
|
|
@@ -1059,10 +1063,14 @@ it is useful e.g. when having multiple lanes with the same name, but with differ
|
|
|
1059
1063
|
|
|
1060
1064
|
### lane rename
|
|
1061
1065
|
|
|
1062
|
-
**Usage**: `lane rename <
|
|
1066
|
+
**Usage**: `lane rename <new-name>`
|
|
1063
1067
|
|
|
1064
1068
|
**Description**: EXPERIMENTAL. change the lane-name locally and on the remote (if exported)
|
|
1065
1069
|
|
|
1070
|
+
| **Option** | **Option alias** | **Description** |
|
|
1071
|
+
| ------------------------- | :--------------: | -------------------------------------------------------------------------- |
|
|
1072
|
+
| `--lane-name <lane-name>` | `-l` | the name of the lane to rename. if not specified, the current lane is used |
|
|
1073
|
+
|
|
1066
1074
|
### lane diff
|
|
1067
1075
|
|
|
1068
1076
|
**Usage**: `lane diff [values...]`
|
|
@@ -1137,7 +1145,17 @@ by default, the provided lane will be fetched from the remote before merging.
|
|
|
1137
1145
|
to merge the lane from the local scope without updating it first, use "--skip-fetch" flag.
|
|
1138
1146
|
|
|
1139
1147
|
when the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,
|
|
1140
|
-
these components will be snap-merged to complete the merge. use "no-snap" to opt-out, or "tag" to tag instead
|
|
1148
|
+
these components will be snap-merged to complete the merge. use "no-snap" to opt-out, or "tag" to tag instead.
|
|
1149
|
+
|
|
1150
|
+
in case a component in both ends don't share history (no snap is found in common), the merge will require "--resolve-unrelated" flag.
|
|
1151
|
+
this flag keeps the history of one end and saves a reference to the other end. the decision of which end to keep is determined by the following:
|
|
1152
|
+
|
|
1153
|
+
1. if the component exists on main, then the history linked to main will be kept.
|
|
1154
|
+
in this case, the strategy of "--resolve-unrelated" only determines which source-code to keep. it's not about the history.
|
|
1155
|
+
2. if the component doesn't exist on main, then by default, the history of the current lane will be kept.
|
|
1156
|
+
unless "--resolve-unrelated" is set to "theirs", in which case the history of the other lane will be kept.
|
|
1157
|
+
3. a. an edge case: if the component is deleted on the current lane, the strategy will always be "theirs".
|
|
1158
|
+
so then the history (and the source-code) of the other lane will be kept.
|
|
1141
1159
|
|
|
1142
1160
|
| **Arg** | **Description** |
|
|
1143
1161
|
| --------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1490,20 +1490,20 @@
|
|
|
1490
1490
|
],
|
|
1491
1491
|
"examples": [
|
|
1492
1492
|
{
|
|
1493
|
-
"cmd": "bit create react ui/button",
|
|
1493
|
+
"cmd": "bit create react ui/button --aspect teambit.react/react-env",
|
|
1494
1494
|
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
|
-
"cmd": "bit create
|
|
1498
|
-
"description": "creates two components, '
|
|
1497
|
+
"cmd": "bit create node utils/is-string utils/is-number --aspect teambit.node/node",
|
|
1498
|
+
"description": "creates two components, 'utils/is-string' and 'utils/is-number' using the 'node' template from the 'node' aspect(env)"
|
|
1499
1499
|
},
|
|
1500
1500
|
{
|
|
1501
|
-
"cmd": "bit create
|
|
1502
|
-
"description": "creates
|
|
1501
|
+
"cmd": "bit create mdx docs/create-components --aspect teambit.mdx/mdx-env --scope my-org.my-scope",
|
|
1502
|
+
"description": "creates an mdx component named 'docs/create-components' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
1503
1503
|
},
|
|
1504
1504
|
{
|
|
1505
|
-
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@
|
|
1506
|
-
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
1505
|
+
"cmd": "bit create react ui/button --aspect teambit.react/react-env --env teambit.community/envs/community-react@3.0.3",
|
|
1506
|
+
"description": "creates a component named 'ui/button' from the teambit.react/react-env env and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react-env')."
|
|
1507
1507
|
}
|
|
1508
1508
|
]
|
|
1509
1509
|
},
|
|
@@ -3355,9 +3355,15 @@
|
|
|
3355
3355
|
]
|
|
3356
3356
|
},
|
|
3357
3357
|
{
|
|
3358
|
-
"name": "change-scope <
|
|
3358
|
+
"name": "change-scope <remote-scope-name>",
|
|
3359
3359
|
"alias": "",
|
|
3360
|
-
"options": [
|
|
3360
|
+
"options": [
|
|
3361
|
+
[
|
|
3362
|
+
"l",
|
|
3363
|
+
"lane-name <lane-name>",
|
|
3364
|
+
"the name of the lane to change its remote scope. if not specified, the current lane is used"
|
|
3365
|
+
]
|
|
3366
|
+
],
|
|
3361
3367
|
"description": "changes the remote scope of a lane",
|
|
3362
3368
|
"extendedDescription": "NOTE: available only before the lane is exported to the remote",
|
|
3363
3369
|
"group": "ungrouped",
|
|
@@ -3373,9 +3379,15 @@
|
|
|
3373
3379
|
"private": false
|
|
3374
3380
|
},
|
|
3375
3381
|
{
|
|
3376
|
-
"name": "rename <
|
|
3382
|
+
"name": "rename <new-name>",
|
|
3377
3383
|
"alias": "",
|
|
3378
|
-
"options": [
|
|
3384
|
+
"options": [
|
|
3385
|
+
[
|
|
3386
|
+
"l",
|
|
3387
|
+
"lane-name <lane-name>",
|
|
3388
|
+
"the name of the lane to rename. if not specified, the current lane is used"
|
|
3389
|
+
]
|
|
3390
|
+
],
|
|
3379
3391
|
"description": "EXPERIMENTAL. change the lane-name locally and on the remote (if exported)",
|
|
3380
3392
|
"extendedDescription": "",
|
|
3381
3393
|
"group": "ungrouped",
|
|
@@ -3591,7 +3603,7 @@
|
|
|
3591
3603
|
]
|
|
3592
3604
|
],
|
|
3593
3605
|
"description": "merge a local or a remote lane to the current lane",
|
|
3594
|
-
"extendedDescription": "by default, the provided lane will be fetched from the remote before merging.\nto merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag.\n\nwhen the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,\nthese components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead",
|
|
3606
|
+
"extendedDescription": "by default, the provided lane will be fetched from the remote before merging.\nto merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag.\n\nwhen the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,\nthese components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead.\n\nin case a component in both ends don't share history (no snap is found in common), the merge will require \"--resolve-unrelated\" flag.\nthis flag keeps the history of one end and saves a reference to the other end. the decision of which end to keep is determined by the following:\n1. if the component exists on main, then the history linked to main will be kept.\nin this case, the strategy of \"--resolve-unrelated\" only determines which source-code to keep. it's not about the history.\n2. if the component doesn't exist on main, then by default, the history of the current lane will be kept.\nunless \"--resolve-unrelated\" is set to \"theirs\", in which case the history of the other lane will be kept.\n2. a. an edge case: if the component is deleted on the current lane, the strategy will always be \"theirs\".\nso then the history (and the source-code) of the other lane will be kept.\n",
|
|
3595
3607
|
"private": true,
|
|
3596
3608
|
"remoteOp": true,
|
|
3597
3609
|
"arguments": [
|
|
@@ -5193,11 +5193,47 @@ function MDXContent(_ref) {
|
|
|
5193
5193
|
parentName: "p"
|
|
5194
5194
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5195
5195
|
parentName: "p"
|
|
5196
|
-
}, "lane change-scope <
|
|
5196
|
+
}, "lane change-scope <remote-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5197
5197
|
parentName: "p"
|
|
5198
5198
|
}, "Description"), ": changes the remote scope of a lane", (0, _react2.mdx)("br", {
|
|
5199
5199
|
parentName: "p"
|
|
5200
|
-
}), "\n", "NOTE: available only before the lane is exported to the remote"), (0, _react2.mdx)("
|
|
5200
|
+
}), "\n", "NOTE: available only before the lane is exported to the remote"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5201
|
+
parentName: "table"
|
|
5202
|
+
}, (0, _react2.mdx)("tr", {
|
|
5203
|
+
parentName: "thead"
|
|
5204
|
+
}, (0, _react2.mdx)("th", {
|
|
5205
|
+
parentName: "tr",
|
|
5206
|
+
"align": null
|
|
5207
|
+
}, (0, _react2.mdx)("strong", {
|
|
5208
|
+
parentName: "th"
|
|
5209
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5210
|
+
parentName: "tr",
|
|
5211
|
+
"align": "center"
|
|
5212
|
+
}, (0, _react2.mdx)("strong", {
|
|
5213
|
+
parentName: "th"
|
|
5214
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5215
|
+
parentName: "tr",
|
|
5216
|
+
"align": null
|
|
5217
|
+
}, (0, _react2.mdx)("strong", {
|
|
5218
|
+
parentName: "th"
|
|
5219
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5220
|
+
parentName: "table"
|
|
5221
|
+
}, (0, _react2.mdx)("tr", {
|
|
5222
|
+
parentName: "tbody"
|
|
5223
|
+
}, (0, _react2.mdx)("td", {
|
|
5224
|
+
parentName: "tr",
|
|
5225
|
+
"align": null
|
|
5226
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5227
|
+
parentName: "td"
|
|
5228
|
+
}, "--lane-name <lane-name>")), (0, _react2.mdx)("td", {
|
|
5229
|
+
parentName: "tr",
|
|
5230
|
+
"align": "center"
|
|
5231
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5232
|
+
parentName: "td"
|
|
5233
|
+
}, "-l")), (0, _react2.mdx)("td", {
|
|
5234
|
+
parentName: "tr",
|
|
5235
|
+
"align": null
|
|
5236
|
+
}, "the name of the lane to change its remote scope. if not specified, the current lane is used")))), (0, _react2.mdx)("h3", null, "lane alias"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5201
5237
|
parentName: "p"
|
|
5202
5238
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5203
5239
|
parentName: "p"
|
|
@@ -5211,9 +5247,45 @@ function MDXContent(_ref) {
|
|
|
5211
5247
|
parentName: "p"
|
|
5212
5248
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5213
5249
|
parentName: "p"
|
|
5214
|
-
}, "lane rename <
|
|
5250
|
+
}, "lane rename <new-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5215
5251
|
parentName: "p"
|
|
5216
|
-
}, "Description"), ": EXPERIMENTAL. change the lane-name locally and on the remote (if exported)"), (0, _react2.mdx)("
|
|
5252
|
+
}, "Description"), ": EXPERIMENTAL. change the lane-name locally and on the remote (if exported)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5253
|
+
parentName: "table"
|
|
5254
|
+
}, (0, _react2.mdx)("tr", {
|
|
5255
|
+
parentName: "thead"
|
|
5256
|
+
}, (0, _react2.mdx)("th", {
|
|
5257
|
+
parentName: "tr",
|
|
5258
|
+
"align": null
|
|
5259
|
+
}, (0, _react2.mdx)("strong", {
|
|
5260
|
+
parentName: "th"
|
|
5261
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5262
|
+
parentName: "tr",
|
|
5263
|
+
"align": "center"
|
|
5264
|
+
}, (0, _react2.mdx)("strong", {
|
|
5265
|
+
parentName: "th"
|
|
5266
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5267
|
+
parentName: "tr",
|
|
5268
|
+
"align": null
|
|
5269
|
+
}, (0, _react2.mdx)("strong", {
|
|
5270
|
+
parentName: "th"
|
|
5271
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5272
|
+
parentName: "table"
|
|
5273
|
+
}, (0, _react2.mdx)("tr", {
|
|
5274
|
+
parentName: "tbody"
|
|
5275
|
+
}, (0, _react2.mdx)("td", {
|
|
5276
|
+
parentName: "tr",
|
|
5277
|
+
"align": null
|
|
5278
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5279
|
+
parentName: "td"
|
|
5280
|
+
}, "--lane-name <lane-name>")), (0, _react2.mdx)("td", {
|
|
5281
|
+
parentName: "tr",
|
|
5282
|
+
"align": "center"
|
|
5283
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5284
|
+
parentName: "td"
|
|
5285
|
+
}, "-l")), (0, _react2.mdx)("td", {
|
|
5286
|
+
parentName: "tr",
|
|
5287
|
+
"align": null
|
|
5288
|
+
}, "the name of the lane to rename. if not specified, the current lane is used")))), (0, _react2.mdx)("h3", null, "lane diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5217
5289
|
parentName: "p"
|
|
5218
5290
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5219
5291
|
parentName: "p"
|
|
@@ -5517,7 +5589,21 @@ function MDXContent(_ref) {
|
|
|
5517
5589
|
parentName: "p"
|
|
5518
5590
|
}), "\n", "to merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag."), (0, _react2.mdx)("p", null, "when the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,", (0, _react2.mdx)("br", {
|
|
5519
5591
|
parentName: "p"
|
|
5520
|
-
}), "\n", "these components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead"), (0, _react2.mdx)("
|
|
5592
|
+
}), "\n", "these components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead."), (0, _react2.mdx)("p", null, "in case a component in both ends don't share history (no snap is found in common), the merge will require \"--resolve-unrelated\" flag.", (0, _react2.mdx)("br", {
|
|
5593
|
+
parentName: "p"
|
|
5594
|
+
}), "\n", "this flag keeps the history of one end and saves a reference to the other end. the decision of which end to keep is determined by the following:"), (0, _react2.mdx)("ol", null, (0, _react2.mdx)("li", {
|
|
5595
|
+
parentName: "ol"
|
|
5596
|
+
}, "if the component exists on main, then the history linked to main will be kept.", (0, _react2.mdx)("br", {
|
|
5597
|
+
parentName: "li"
|
|
5598
|
+
}), "in this case, the strategy of \"--resolve-unrelated\" only determines which source-code to keep. it's not about the history."), (0, _react2.mdx)("li", {
|
|
5599
|
+
parentName: "ol"
|
|
5600
|
+
}, "if the component doesn't exist on main, then by default, the history of the current lane will be kept.", (0, _react2.mdx)("br", {
|
|
5601
|
+
parentName: "li"
|
|
5602
|
+
}), "unless \"--resolve-unrelated\" is set to \"theirs\", in which case the history of the other lane will be kept."), (0, _react2.mdx)("li", {
|
|
5603
|
+
parentName: "ol"
|
|
5604
|
+
}, "a. an edge case: if the component is deleted on the current lane, the strategy will always be \"theirs\".", (0, _react2.mdx)("br", {
|
|
5605
|
+
parentName: "li"
|
|
5606
|
+
}), "so then the history (and the source-code) of the other lane will be kept.")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5521
5607
|
parentName: "table"
|
|
5522
5608
|
}, (0, _react2.mdx)("tr", {
|
|
5523
5609
|
parentName: "thead"
|