@teambit/harmony.content.cli-reference 1.95.179 → 1.95.181
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 +31 -1
- package/cli-reference.mdx +15 -1
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +31 -1
- package/dist/cli-reference.mdx.js +76 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1689823719636.js → preview-1689995873460.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.181.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.179.tgz +0 -0
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2844,7 +2844,7 @@
|
|
|
2844
2844
|
]
|
|
2845
2845
|
],
|
|
2846
2846
|
"description": "merge changes of the remote head into local",
|
|
2847
|
-
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge
|
|
2847
|
+
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2848
2848
|
"group": "development",
|
|
2849
2849
|
"private": false
|
|
2850
2850
|
},
|
|
@@ -3287,6 +3287,31 @@
|
|
|
3287
3287
|
"description": "partially merge the lane with the specified component-pattern"
|
|
3288
3288
|
}
|
|
3289
3289
|
]
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "merge-abort",
|
|
3293
|
+
"alias": "",
|
|
3294
|
+
"options": [
|
|
3295
|
+
[
|
|
3296
|
+
"",
|
|
3297
|
+
"verbose",
|
|
3298
|
+
"show details of components that were not merged legitimately"
|
|
3299
|
+
],
|
|
3300
|
+
[
|
|
3301
|
+
"s",
|
|
3302
|
+
"silent",
|
|
3303
|
+
"skip confirmation"
|
|
3304
|
+
],
|
|
3305
|
+
[
|
|
3306
|
+
"x",
|
|
3307
|
+
"skip-dependency-installation",
|
|
3308
|
+
"do not install packages of the imported components"
|
|
3309
|
+
]
|
|
3310
|
+
],
|
|
3311
|
+
"description": "abort the recent lane-merge. revert the lane object and checkout accordingly",
|
|
3312
|
+
"extendedDescription": "restore the lane-object same as it was before the last \"bit lane merge\" command.\nalso, checkout the workspace components according to the restored lane",
|
|
3313
|
+
"private": true,
|
|
3314
|
+
"remoteOp": true
|
|
3290
3315
|
}
|
|
3291
3316
|
]
|
|
3292
3317
|
},
|
|
@@ -3360,6 +3385,11 @@
|
|
|
3360
3385
|
"pattern <string>",
|
|
3361
3386
|
"partially merge the lane with the specified component-pattern"
|
|
3362
3387
|
],
|
|
3388
|
+
[
|
|
3389
|
+
"",
|
|
3390
|
+
"title <string>",
|
|
3391
|
+
"if provided, it replaces the original message with this title and append squashed snaps messages"
|
|
3392
|
+
],
|
|
3363
3393
|
[
|
|
3364
3394
|
"",
|
|
3365
3395
|
"push",
|
package/cli-reference.mdx
CHANGED
|
@@ -957,6 +957,20 @@ it will snap-merge these components to complete the merge. use "no-snap" to opt-
|
|
|
957
957
|
| `--include-deps` | | relevant for "--pattern" and "--workspace". merge also dependencies of the given components |
|
|
958
958
|
| `--resolve-unrelated [merge-strategy]` | | relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be "ours" (default) or "theirs" |
|
|
959
959
|
|
|
960
|
+
### lane merge-abort
|
|
961
|
+
|
|
962
|
+
**Usage**: `lane merge-abort`
|
|
963
|
+
|
|
964
|
+
**Description**: abort the recent lane-merge. revert the lane object and checkout accordingly
|
|
965
|
+
restore the lane-object same as it was before the last "bit lane merge" command.
|
|
966
|
+
also, checkout the workspace components according to the restored lane
|
|
967
|
+
|
|
968
|
+
| **Option** | **Option alias** | **Description** |
|
|
969
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------------ |
|
|
970
|
+
| `--verbose` | | show details of components that were not merged legitimately |
|
|
971
|
+
| `--silent` | `-s` | skip confirmation |
|
|
972
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
973
|
+
|
|
960
974
|
| **Option** | **Option alias** | **Description** |
|
|
961
975
|
| ------------------- | :--------------: | ------------------------------------------------------------- |
|
|
962
976
|
| `--details` | `-d` | show more details on the state of each component in each lane |
|
|
@@ -1073,7 +1087,7 @@ https://bit.dev/docs/reference/cli-reference#list
|
|
|
1073
1087
|
**Description**: merge changes of the remote head into local
|
|
1074
1088
|
merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.
|
|
1075
1089
|
if no ids are specified, all pending-merge components will be merged. (run "bit status" to list them).
|
|
1076
|
-
optionally use '--abort' to revert the last merge
|
|
1090
|
+
optionally use '--abort' to revert the last merge. to revert a lane merge, use "bit lane merge-abort" command.
|
|
1077
1091
|
you can use a pattern for multiple ids, such as bit merge "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
1078
1092
|
|
|
1079
1093
|
`bit merge [ids...]`
|
package/dist/cli-reference.json
CHANGED
|
@@ -2844,7 +2844,7 @@
|
|
|
2844
2844
|
]
|
|
2845
2845
|
],
|
|
2846
2846
|
"description": "merge changes of the remote head into local",
|
|
2847
|
-
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge
|
|
2847
|
+
"extendedDescription": "merge changes of the remote head into local. when on a lane, merge the remote head of the lane into the local.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.\nyou can use a pattern for multiple ids, such as bit merge \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2848
2848
|
"group": "development",
|
|
2849
2849
|
"private": false
|
|
2850
2850
|
},
|
|
@@ -3287,6 +3287,31 @@
|
|
|
3287
3287
|
"description": "partially merge the lane with the specified component-pattern"
|
|
3288
3288
|
}
|
|
3289
3289
|
]
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "merge-abort",
|
|
3293
|
+
"alias": "",
|
|
3294
|
+
"options": [
|
|
3295
|
+
[
|
|
3296
|
+
"",
|
|
3297
|
+
"verbose",
|
|
3298
|
+
"show details of components that were not merged legitimately"
|
|
3299
|
+
],
|
|
3300
|
+
[
|
|
3301
|
+
"s",
|
|
3302
|
+
"silent",
|
|
3303
|
+
"skip confirmation"
|
|
3304
|
+
],
|
|
3305
|
+
[
|
|
3306
|
+
"x",
|
|
3307
|
+
"skip-dependency-installation",
|
|
3308
|
+
"do not install packages of the imported components"
|
|
3309
|
+
]
|
|
3310
|
+
],
|
|
3311
|
+
"description": "abort the recent lane-merge. revert the lane object and checkout accordingly",
|
|
3312
|
+
"extendedDescription": "restore the lane-object same as it was before the last \"bit lane merge\" command.\nalso, checkout the workspace components according to the restored lane",
|
|
3313
|
+
"private": true,
|
|
3314
|
+
"remoteOp": true
|
|
3290
3315
|
}
|
|
3291
3316
|
]
|
|
3292
3317
|
},
|
|
@@ -3360,6 +3385,11 @@
|
|
|
3360
3385
|
"pattern <string>",
|
|
3361
3386
|
"partially merge the lane with the specified component-pattern"
|
|
3362
3387
|
],
|
|
3388
|
+
[
|
|
3389
|
+
"",
|
|
3390
|
+
"title <string>",
|
|
3391
|
+
"if provided, it replaces the original message with this title and append squashed snaps messages"
|
|
3392
|
+
],
|
|
3363
3393
|
[
|
|
3364
3394
|
"",
|
|
3365
3395
|
"push",
|
|
@@ -4435,7 +4435,81 @@ function MDXContent(_ref) {
|
|
|
4435
4435
|
}), (0, _react2.mdx)("td", {
|
|
4436
4436
|
parentName: "tr",
|
|
4437
4437
|
"align": null
|
|
4438
|
-
}, "relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\"")))), (0, _react2.mdx)("
|
|
4438
|
+
}, "relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\"")))), (0, _react2.mdx)("h3", null, "lane merge-abort"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4439
|
+
parentName: "p"
|
|
4440
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4441
|
+
parentName: "p"
|
|
4442
|
+
}, "lane merge-abort")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4443
|
+
parentName: "p"
|
|
4444
|
+
}, "Description"), ": abort the recent lane-merge. revert the lane object and checkout accordingly", (0, _react2.mdx)("br", {
|
|
4445
|
+
parentName: "p"
|
|
4446
|
+
}), "\n", "restore the lane-object same as it was before the last \"bit lane merge\" command.", (0, _react2.mdx)("br", {
|
|
4447
|
+
parentName: "p"
|
|
4448
|
+
}), "\n", "also, checkout the workspace components according to the restored lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4449
|
+
parentName: "table"
|
|
4450
|
+
}, (0, _react2.mdx)("tr", {
|
|
4451
|
+
parentName: "thead"
|
|
4452
|
+
}, (0, _react2.mdx)("th", {
|
|
4453
|
+
parentName: "tr",
|
|
4454
|
+
"align": null
|
|
4455
|
+
}, (0, _react2.mdx)("strong", {
|
|
4456
|
+
parentName: "th"
|
|
4457
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
4458
|
+
parentName: "tr",
|
|
4459
|
+
"align": "center"
|
|
4460
|
+
}, (0, _react2.mdx)("strong", {
|
|
4461
|
+
parentName: "th"
|
|
4462
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
4463
|
+
parentName: "tr",
|
|
4464
|
+
"align": null
|
|
4465
|
+
}, (0, _react2.mdx)("strong", {
|
|
4466
|
+
parentName: "th"
|
|
4467
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
4468
|
+
parentName: "table"
|
|
4469
|
+
}, (0, _react2.mdx)("tr", {
|
|
4470
|
+
parentName: "tbody"
|
|
4471
|
+
}, (0, _react2.mdx)("td", {
|
|
4472
|
+
parentName: "tr",
|
|
4473
|
+
"align": null
|
|
4474
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4475
|
+
parentName: "td"
|
|
4476
|
+
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
4477
|
+
parentName: "tr",
|
|
4478
|
+
"align": "center"
|
|
4479
|
+
}), (0, _react2.mdx)("td", {
|
|
4480
|
+
parentName: "tr",
|
|
4481
|
+
"align": null
|
|
4482
|
+
}, "show details of components that were not merged legitimately")), (0, _react2.mdx)("tr", {
|
|
4483
|
+
parentName: "tbody"
|
|
4484
|
+
}, (0, _react2.mdx)("td", {
|
|
4485
|
+
parentName: "tr",
|
|
4486
|
+
"align": null
|
|
4487
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4488
|
+
parentName: "td"
|
|
4489
|
+
}, "--silent")), (0, _react2.mdx)("td", {
|
|
4490
|
+
parentName: "tr",
|
|
4491
|
+
"align": "center"
|
|
4492
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4493
|
+
parentName: "td"
|
|
4494
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
4495
|
+
parentName: "tr",
|
|
4496
|
+
"align": null
|
|
4497
|
+
}, "skip confirmation")), (0, _react2.mdx)("tr", {
|
|
4498
|
+
parentName: "tbody"
|
|
4499
|
+
}, (0, _react2.mdx)("td", {
|
|
4500
|
+
parentName: "tr",
|
|
4501
|
+
"align": null
|
|
4502
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4503
|
+
parentName: "td"
|
|
4504
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
4505
|
+
parentName: "tr",
|
|
4506
|
+
"align": "center"
|
|
4507
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4508
|
+
parentName: "td"
|
|
4509
|
+
}, "-x")), (0, _react2.mdx)("td", {
|
|
4510
|
+
parentName: "tr",
|
|
4511
|
+
"align": null
|
|
4512
|
+
}, "do not install packages of the imported components")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4439
4513
|
parentName: "table"
|
|
4440
4514
|
}, (0, _react2.mdx)("tr", {
|
|
4441
4515
|
parentName: "thead"
|
|
@@ -5060,7 +5134,7 @@ function MDXContent(_ref) {
|
|
|
5060
5134
|
parentName: "p"
|
|
5061
5135
|
}), "\n", "if no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).", (0, _react2.mdx)("br", {
|
|
5062
5136
|
parentName: "p"
|
|
5063
|
-
}), "\n", "optionally use '--abort' to revert the last merge
|
|
5137
|
+
}), "\n", "optionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.", (0, _react2.mdx)("br", {
|
|
5064
5138
|
parentName: "p"
|
|
5065
5139
|
}), "\n", "you can use a pattern for multiple ids, such as bit merge \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5066
5140
|
parentName: "p"
|