Pull Request
Last updated
Last updated
Here are few things to check before creating a PR, then when you are working on new features to add to your main (production) branch through merge and finally after merging PR:
First create an issue -> "issues" tab -> write an issue for your task
Create a new branch and start coding
Push changes to the respective branch
When done with all coding and ready to push to production -> Create a pull request (PR)
You can still continue to code and push changes to your branch after creating PR until the PR is merged by you
Delete branch on PR
Go to your local repo on your laptop -> switch to main branch -> pull new changes that is now on your main (production) branch on remote repo to your local repo -> then delete the same branch locally
To include a brief code prefix such as "ENH:" in step 1, please refer to the end of this documentation . Step 3 involves adding reviewers for the code review, and in step 4, linking the issue under "Development". Upon approval of the code review, proceed to step 5 and merge the PR.