Skip to main content

拉取请求文档

了解如何使用拉取请求来建议对项目的更改、接收对您自己的项目的建议更改,以及解决拉取请求中的问题,例如合并冲突。

概述

文章

Work with forks

About forks

Use forks to make changes in your own copy of a repository and propose them back to the original project.
Create pull requests

About pull requests

Use pull requests to propose, discuss, and merge changes on GitHub.
Work with forks

Allowing changes to a pull request branch created from a fork

Enable collaboration by allowing repository maintainers to commit changes to pull request branches created from forks in your personal account.
Review pull requests

Approving a pull request with required reviews

Approve pull requests with required reviews, including setting approval rules, reviewing changes, and submitting feedback before merging.
Merge and close pull requests

Automatically merging a pull request

Enable or disable auto-merge for pull requests to streamline your workflow and automatically merge changes once all requirements are met.
Create pull requests

Branches

Use branches in GitHub to isolate development work, manage default branches, and collaborate effectively using pull requests and branch protections.
Commit changes

Changing a commit message

Amend unclear, incorrect, or sensitive commit messages locally and push updated commits to GitHub, including steps for editing recent or older commits.
Create pull requests

Changing the base branch of a pull request

Modify the base branch of an open pull request to compare changes against a different branch and ensure accurate updates.
Create pull requests

Changing the stage of a pull request

Mark a draft pull request as ready for review or convert an open pull request back to a draft to manage your workflow effectively.
显示 53 的 1-9