Git Basics: Do a Peer Review #859
hydrolet
announced in
Published Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why Do a Peer Review Before Accepting a PR?
In collaborative game development (or any coding project), it's important that every change to the project is reviewed before it's added to the main branch. This helps:
Requiring peer review before a PR is accepted ensures that:
How to Do a Peer Review in GitHub
✅ Step 1: Open the Pull Request (PR)
✅ Step 2: Review the Changes
Click the "Files changed" tab in the PR.
Read through the changes carefully:
In Godot projects, resources like scenes (whose filenames end with
.tscn) are not designed to be human-readable, so can be hard to review. With experience, or in simple cases, you may be able to understand the effect of a changes by reading the pull request; but you may wish to test the proposed change as well.Example: In this pull request, the submitter added 3 new files and modified 3 others to implement a new feature. Some of the changes add or modify GDScript source files, which are readable in the browser:
While the parts of the pull request that define a new video settings scene are harder to review since you cannot see the visual result:
✅ Step 3: Leave Comments
Click on a specific line of code and click the "+" button to add a comment.
Be kind, specific, and helpful. For example:
✅ Step 4: Approve or Request Changes
Once you've reviewed everything:
Click the “Review changes” button (top-right).
Write a comment summarising your review.
Choose one:
Click “Submit review.”
After the Review
Tips for Reviewers
Beta Was this translation helpful? Give feedback.
All reactions