Open a GitHub Draft Pull Request

Joe Previte
InstructorJoe Previte
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 2 years ago

In this lesson, you will learn how to open a draft pull request on GitHub. When you open a new PR, before you click the create pr button, click the dropdown and select Create Draft Pull Request. It will have a flag on it stating that the PR is still a work in progress, helping to stop merges before your branch is ready.

If you prefer to learn by reading, you can read the accompanying blog post.

Instructor: [0:00] Open a new pull request. Scroll down to the Create Pull Request button. Instead of clicking this, to the right, click the drop-down menu. Then select Create Draft Pull Request. Now click Draft Pull Request. This will create a draft pull request.

[0:18] You'll see that it adds this label up here so that other people know this is a work in progress. Additionally, there will be a message down here and it will also let you know that draft pull request cannot be merged.

[0:30] This is good for preventing pull requests from being merged before they're ready. When you are ready, you can click Ready for Review and it will turn it from draft mode into ready mode. That's it. That's how you open a draft PR on GitHub.

egghead
egghead
~ 10 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today