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
<pclassName="subtitle">Learn how to rebase your existing changesets.</p>
4
+
5
+
<Callouttype="note">This feature is supported for Sourcegraph versions 6.2 or more.</Callout>
6
+
7
+
If your codehost requires changesets to be up to date with the main branch, you can use the rebase functionality of the Web UI to update the changesets.
8
+
9
+
<Callouttype="warning">Rebasing does not resolve merge conflicts.</Callout>
10
+
11
+
## Requirements
12
+
13
+
- Sourcegraph instance with repositories in it. See the [Quickstart](/#quick-install) guide on how to set up a Sourcegraph instance
14
+
- A [global service account token](/batch-changes/configuring-credentials#global-service-account-tokens) for Batch Changes (**a personal access token cannot currently be used for importing changesets**)
15
+
16
+
## Select changesets to rebase
17
+
18
+
After navigating to the changesets of your batch change, select one or more **published** changesets to rebase. You can only rebase changesets after they have been published to the codehost.
19
+
20
+

21
+
22
+
If a changeset is already up to date with the main branch, rebasing will result in no changes.
23
+
24
+
## Start the rebase bulk operation
25
+
26
+
With all applicable changesets selected, click the **Select action** button, and then select **Rebase changesets**.
27
+
28
+

29
+
30
+
Confirm the popup to start the rebase bulk operation.
31
+
32
+

33
+
34
+
You can see the progress of the rebase operation in the **Bulk Actions** tab.
35
+
36
+

0 commit comments