How do I create an automated pull request?
Objective: This article explains how to publish a branch for code review and have Hector automatically pick it up and create the pull request.
Prerequisites:
- You have prepared your branch for code review.
Steps:
- Append
[review]
to the end of your commit message.git commit --amend
- Force push the branch.
git push --force
Example:
DE-1234 Add new feature [review]
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# ...
Additional Resources: