Документация по запросам на вытягивание
Узнайте, как создавать, проверять и объединять запросы на вытягивание, разрешать конфликты слияния и эффективно сотрудничать с GitHub проектами.
Рекомендуемая конфигурация
Запросы на слияние
Предложение, проверка и слияние изменений кода с помощью запросов на вытягивание для эффективной работы и поддержания качества кода.
Branches
Use branches in GitHub to isolate development work, manage default branches, and collaborate effectively using pull requests and branch protections.
Создание запроса на включение изменений
Создайте запрос на вытягивание, чтобы предложить изменения в коде в репозитории.
Статьи
About stacked pull requests
Break large code changes into a chain of smaller, dependent pull requests you can review and merge independently.
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.
Branches
Use branches in GitHub to isolate development work, manage default branches, and collaborate effectively using pull requests and branch protections.
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.
Creating a pull request from a fork
Create a pull request from a fork to propose changes to an upstream repository and collaborate on code effectively.
Creating stacked pull requests
Create a stack of dependent pull requests using the gh stack extension in GitHub CLI or directly on GitHub.
Managing branches within your repository
Create new branches for development and delete unused branches directly on GitHub.
Managing stacked pull requests
Restructure stacked pull requests, rebase their branches, and make changes to lower layers using GitHub CLI.
Merging stacked pull requests
Merge a stack from the bottom up, individually, or in contiguous groups.