Open a pull request
Create a branch in your repository before making a change. For example, use git switch -c docs/local-setup for a documentation update.
Prepare the change
- Review the files you edited with
git diff. Run the repository checks and any tests that cover your change. - Stage the intended files. Use
git diff --cachedto review what will go in the commit. - Commit with a message that describes the change, such as
docs: clarify local setup. If a hook changes a file, review and stage that change before retrying the commit. - Push your branch and open a pull request against your repository's default branch. For the example branch, run
git push -u origin docs/local-setup.
Help reviewers understand the change
Use the pull request template to explain the change and why it matters. Link the issue if there is one. Under Testing, name the commands you actually ran and report their results. Call out manual checks or known limitations that affect the review.
Open Checks in the pull request to see what ran. If a job fails, open its log, fix the issue on your branch, then push the correction. How repository CI works