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
Copy file name to clipboardExpand all lines: docs/batch-changes/create-a-batch-change.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
<pclassName="subtitle">Learn in detail about how to create, view, and filter your Batch Changes.</p>
4
4
5
-
Batch changes are created by writing a [batch spec](/batch-changes/batch-spec-yaml-reference) and executing that batch spec with the [Sourcegraph CLI](https://github.com/sourcegraph/src-cli)`src`.
5
+
Batch Changes are created by writing a [batch spec](/batch-changes/batch-spec-yaml-reference) and executing that batch spec with the [Sourcegraph CLI](https://github.com/sourcegraph/src-cli)`src`.
6
6
7
-
Batch changes can also be used on [multiple projects within a monorepo](/batch-changes/creating-changesets-per-project-in-monorepos) by using the `workspaces` key in your batch spec.
7
+
Batch Changes can also be used on [multiple projects within a monorepo](/batch-changes/creating-changesets-per-project-in-monorepos) by using the `workspaces` key in your batch spec.
8
8
9
-
There are two ways of creating a Batch Change:
9
+
There are two ways of creating a batch change:
10
10
11
11
1. On your local machine, with the [Sourcegraph CLI](#create-a-batch-change-with-the-sourcegraph-cli)
12
12
2. Remotely, with [server-side execution](/batch-changes/server-side)
@@ -23,7 +23,7 @@ This part of the guide will walk you through creating a batch change on your loc
23
23
24
24
### Writing a batch spec
25
25
26
-
To create a Batch Change, you need a **batch spec** describing the change. Here is an example batch spec that describes a batch change to add **Hello World** to all `README` files:
26
+
To create a batch change, you need a **batch spec** describing the change. Here is an example batch spec that describes a batch change to add **Hello World** to all `README` files:
27
27
28
28
```yaml
29
29
version: 2
@@ -105,9 +105,9 @@ That can be useful if you want to update a single field in the batch spec, i.e.,
105
105
106
106
### Creating a batch change in a different namespace
107
107
108
-
Batch changes are uniquely identified by their name and namespace. The namespace can be any Sourcegraph username or the name of a Sourcegraph organization.
108
+
Batch Changes are uniquely identified by their name and namespace. The namespace can be any Sourcegraph username or the name of a Sourcegraph organization.
109
109
110
-
By default, batch changes will use your username on Sourcegraph as your namespace. To create batch changes in a different namespace, use the `-namespace` flag when previewing or applying a batch spec:
110
+
By default, Batch Changes will use your username on Sourcegraph as your namespace. To create Batch Changes in a different namespace, use the `-namespace` flag when previewing or applying a batch spec:
0 commit comments