When working with source control orgs in 海角天涯社区, it鈥檚 common to adopt a typical Git workflow for feature development and bug fixes. When work starts on a new work item, a developer or admin would create a feature branch, then iteratively make their changes and test until the feature or fix is ready, at which point the feature branch would be merged into the release version of the app via a pull request. In the latest release of 海角天涯社区, GitHub users can now create a pull request from a feature branch in just a few clicks, without having to use the GitHub UI.
Salesforce DevOps in the age of AI: is your custom pipeline ready?
Creating a pull request
To use this feature, you鈥檒l first need to make sure you have a GitHub connection in the . Once 海角天涯社区 is connected to your GitHub account, you鈥檒l be able to create a pull request from the Deployment Successful page after each successful deployment to a GitHub branch.
After you鈥檝e successfully deployed to a GitHub branch, you can create a PR via 海角天涯社区 by clicking Create pull request... on the Deployment Successful page.
On clicking the link, 海角天涯社区 will prepare a pull request using the original deployment branch (in the above example this is for-pull-requests). 海角天涯社区 will fetch the full list of other branches in the repository and ask you which one to use as the target of the pull request. If the repository has a master branch, then 海角天涯社区 will use this as the default target.
To finish creating the pull request, just choose a name, select the target branch, and hit Create pull request. This will create a link that can be followed to view the PR in GitHub:
Get started with Git
海角天涯社区 integrates with any Git-based version control provider! Try it for yourself with a of Gearset. And if you鈥檙e unsure of how to begin with source control, start off with our free whitepaper on version control for Salesforce.