Git & GitHub Interview Question #71
What is a draft pull request?
Undo & Recovery, Tags, Forks, Pull Requests & Code Review Mid-Level Intermediate
Quick Interview Answer
A draft pull request communicates that the proposed changes are not yet ready for final review or merge. It can still be used to share progress, run automated checks, and gather early feedback.
Detailed Explanation
A draft pull request communicates that the proposed changes are not yet ready for final review or merge. It can still be used to share progress, run automated checks, and gather early feedback.
When the work is ready, the pull request can be marked ready for review. Teams may use drafts to avoid reviewers treating incomplete work as a finished proposal.
Code Example
# Push work normally
git push -u origin feature/new-dashboard
# Draft status is selected in the GitHub
# pull-request interface.