Creating a pull request in a SourceCraft repository
A pull request is a proposal to integrate updates from one branch into another, usually the project’s main branch. A pull request contains a description of updates, comparison of branches, a discussion for review, and may be integrated with CI/CD processes. This makes it easier for teams to collaborate and allows you to review and approve updates based on the defined rules before they are added to the main project.
To create a pull request:
-
Open the SourceCraft home page.
-
On the
-
Select the repository to create a pull request in.
-
Under
-
In the top-right corner, click Create pull request.
-
In the source and target lists, select the branches you want to merge.
-
Enter a name for the pull request.
-
Optionally, provide details of the changes in the pull request.
-
Optionally, view the changes:
-
The
.diff
format.To view the changes in before/after format, click
To view all files in the branch you want to pull changes from, click Full tree.
-
The
-
-
Optionally, under Reviewers, select the pull request reviewers.
-
Click Publish pull request.
You can also save your pull request as a draft to complete it later instead of creating it right away. To do this, click Save as Draft.
Creating a pull request from a draft
- Open the SourceCraft home page.
- On the
- Select the repository to create a pull request in.
- Under
- In the search bar, select the filter by the
Draft
status. - Select a draft to create a pull request from.
- Click Publish pull request.