GitHub users can now create a pull request from a feature branch, without having to leave Gearset

Calvin Childs on

Share with


When working with source control orgs in Gearset, it’s 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 Gearset, GitHub users can now create a pull request from a feature branch in just a few clicks, without having to use the GitHub UI.

Creating a pull request

To use this feature, you’ll first need to make sure you have a GitHub connection in the managed linked service page. Once Gearset is connected to your GitHub account, you’ll be able to create a pull request from the Deployment Successful page after each successful deployment to a GitHub branch.

After you’ve successfully deployed to a GitHub branch, you can create a PR via Gearset by clicking Create pull request... on the Deployment Successful page.

After you've successfully deployed, you can create a pull request to a GitHub branch

On clicking the link, Gearset will prepare a pull request using the original deployment branch (in the above example this is for-pull-requests). Gearset 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 Gearset will use this as the default target.

Give your pull request a name, and select the target branch

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:

After creating your PR, follow the link to view it in GitHub
View your new pull request in GitHub

Any suggestions?

We’re always looking to improve Gearset, and we welcome any feedback to help us make your lives easier. While this new feature currently only supports GitHub, we plan to expand this to our other integrated version control services that support pull requests!

If you have any questions or feedback please do get in touch via the live in-app chat or at [email protected].

Ready to get started with Gearset?