In this hands-on lab you will learn how to perform reviews of code, make suggestions, and approve pull requests. The module consists of the following parts:
Note:
⚡ In this this exercise you have to work together with the same partner that you added as a reviewer to your PR in Collaborate on code.
- Open the PR of your partner - you should have received a notification.
- Go to the
Files changed
tab - Add a
suggestion
if needed
- Go back to your repo and wait for your partner to complete the comment with the suggestion.
- Open
Commit suggestion
and verify the commit message title and body. ClickCommit changes
:
- Note that the commit shows up under
commit
tab and contains your partner as a co-commiter:
- Now set
Enable auto-merge
toSquash and merge
and enable it:
- Verify the commit message with all changes and the co-author information and confirm the auto-merge:
- Check that auto-merge is enabled and head over to the repo of your partner: