💻 Mission 10

B1 · 15 min

Write Commit Messages and Pull Requests

I can write a clear commit message and a pull request description: what it changes, why and how to test it.
You fixed BUG-214: the order status stayed Pending after payment. Now you need a commit message and a pull request description, so Alex can review your change quickly.
#482 Fix order status after payment
orders-service · 3 files changed
What: Update the order status when the payment succeeds.
Why: The status stayed Pending after payment (BUG-214).
How to test: Pay for an order on staging.
Expected: The status changes to Paid.
The title is a short command: Fix… The description answers three questions: what, why and how to test.

Your mission

Write the commit subject and the PR description (what, why, how to test), then tell Alex it is ready for review.

Keep learning

Write Commit Messages and Pull Requests | Sunny Academy