Skip to content

Commit 6a06661

Browse files
committed
Add images and fix formatting issues
1 parent 7853aa7 commit 6a06661

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

docs/batch-changes/push-only-changesets.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
**Pushing code to a code host**
1+
# Pushing code to a code host
22

33
<p className="subtitle">Learn how to push code changes to a code host without making a merge request.</p>
44

55
<Callout type="note">Pushed-only changesets work on GitHub and GitLab only. They do not yet work with forked repositories.</Callout>
66

7+
After you've [created a batch change](/batch-changes/create-a-batch-change), you will be redirected to a page displaying a list of the changesets the Batch Change created. From this page, you can apply any bulk operation to more than one changesets.
78

8-
After you've [created a batch change](/batch-changes/create-a-batch-change), you will be redirected to a page displaying a list of the changesets the Batch Change created. From this page, you can apply any bulk operation to 1+ changesets.
9+
To push code to a new branch on a code host without also creating a merge request, simply select **Push to code host only** from the dropdown menu:
910

11+
![push-only-dropdown](https://storage.googleapis.com/sourcegraph-assets/Docs/push-only-dropdown-0625.png)
1012

11-
To push code to a new branch on a code host without also creating a merge request, simply select 'push only' from the dropdown menu:
13+
## Few important considerations
1214

13-
[image would go here]
14-
15-
16-
## Notes
17-
- With pushed-only changesets, you are still able see CI feedback, as long as it triggers on code pushes.
18-
- The `review` status of a pushed-only changeset is always "N/A."
19-
- The `status` of a pushed-only changeset is always "OPEN."
20-
- To publish a pushed-only changeset, simply select the changeset in the Batch Changes UI and select 'Publish.'
15+
- With pushed-only changesets, you are still able see CI feedback, as long as it triggers on code pushes
16+
- The `review` status of a pushed-only changeset is always "N/A"
17+
- The `status` of a pushed-only changeset is always "Open"
18+
- To publish a pushed-only changeset, simply select the changeset in the Batch Changes UI and select **Publish**
2119

20+
![push-only-changesets-executed](https://storage.googleapis.com/sourcegraph-assets/Docs/push-only-executed-0625.png)
2221

2322
## Requirements
23+
2424
To push code to a new branch on a code host, you will need:
2525

2626
- [Admin permissions for the batch change](/batch-changes/permissions-in-batch-changes#permission-levels-for-batch-changes)

docs/batch-changes/quickstart.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,8 @@ The batch change's **changesets** still need to be published, which means they e
102102

103103
So far, nothing has been created on your code hosts. To do so, you can tell Sourcegraph to either **publish** or **push** a changeset.
104104

105-
- **Publishing** a changeset results in the creation of a merge request on your code host (e.g. a Pull Request on GitHub).
106-
107-
- **Pushing** a changeset (available on GitHub and GitLab only) results in pushing your code changes to a new branch on your code host _without_ also creating a merge request. You are able to see any CI feedback set to trigger upon code-pushes in the Batch Changs UI.
108-
- Read more about push-only changesets under the Bulk Operations heading.
105+
- **[Publishing](/batch-changes/publishing-changesets)** a changeset results in the creation of a merge request on your code host (e.g. a Pull Request on GitHub).
106+
- **[Pushing](/batch-changes/push-only-changesets)** a changeset (available on GitHub and GitLab only) results in pushing your code changes to a new branch on your code host without also creating a merge request. You are able to see any CI feedback set to trigger upon code-pushes in the Batch Changs UI.
109107

110108
### Configure code host credentials
111109

0 commit comments

Comments
 (0)