Handling PR Feedback and Updates
📖 Scenario: You are working on a team project using Git and GitHub. Your teammate has reviewed your Pull Request (PR) and left feedback asking for some changes. You need to update your PR with the requested fixes so the team can merge your work smoothly.
🎯 Goal: Learn how to fetch PR feedback, make changes in your local branch, commit those changes, and push updates to the same PR branch on GitHub.
📋 What You'll Learn
Create a new branch called
feature-update from mainMake a simple change to a file called
app.txt by adding the line Update after PR feedbackCommit the change with the message
fix: update after PR feedbackPush the updated branch
feature-update to the remote repository💡 Why This Matters
🌍 Real World
In real projects, teammates review your code and ask for changes. You update your PR branch with fixes so the team can merge your work smoothly.
💼 Career
Knowing how to handle PR feedback and update branches is essential for collaboration in software development teams using Git and GitHub.
Progress0 / 4 steps