Skip to content

Commit 8c15d9c

Browse files
authored
1 parent 3133a53 commit 8c15d9c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/batch-changes/create-a-batch-change.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<p className="subtitle">Learn in detail about how to create, view, and filter your Batch Changes.</p>
44

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`.
66

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.
88

9-
There are two ways of creating a Batch Change:
9+
There are two ways of creating a batch change:
1010

1111
1. On your local machine, with the [Sourcegraph CLI](#create-a-batch-change-with-the-sourcegraph-cli)
1212
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
2323

2424
### Writing a batch spec
2525

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:
2727

2828
```yaml
2929
version: 2
@@ -105,9 +105,9 @@ That can be useful if you want to update a single field in the batch spec, i.e.,
105105

106106
### Creating a batch change in a different namespace
107107

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.
109109

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:
111111

112112
```bash
113113
src batch preview -f your_batch_spec.yaml -namespace <SOURCEGRAPH_USERNAME_OR_ORG>
@@ -176,13 +176,13 @@ Congratulations, you ran your first batch change server-side 🎊
176176

177177
## Viewing batch changes
178178

179-
You can view a list of all batch changes by clicking the **Batch Changes** icon in the top navigation bar:
179+
You can view a list by clicking the **Batch Changes** icon in the top navigation bar:
180180

181181
![batch-change-icon-to-view](https://sourcegraphstatic.com/docs/images/batch_changes/2024/batch_changes_icon_in_menu.png)
182182

183-
## Filtering batch changes
183+
## Filtering Batch Changes
184184

185-
You can also use the filters to switch between showing all open or closed batch changes.
185+
You can also use the filters to switch between showing all open or closed Batch Changes.
186186

187187
![use-filters-batch-changes](https://sourcegraphstatic.com/docs/images/batch_changes/2024/viewing_batch_changes_filtering.png)
188188

0 commit comments

Comments
 (0)