Skip to main content
Skip to content

Reference for pull requests

Find detailed reference information on managing pull requests, including reviews, merges, branches, and resolving conflicts.

Pull requests

Propose, review, and merge code changes using pull requests to collaborate effectively and maintain code quality.

Stacked pull requests

Rules and requirements for how stacked pull requests function on GitHub.

Stacked pull requests CLI commands

Find every command, flag, and exit code for the gh stack extension in GitHub CLI.

Stacked pull requests APIs and webhooks

Read and manage stacked pull requests programmatically with the GitHub REST and GraphQL APIs, and webhooks.

Branches

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

Forks

Understand how forks enable independent collaboration by creating separate repositories connected to the original, with distinct settings and permissions.

Commits

Learn how commits save changes to your files, track authorship, and organize your project's history in GitHub.

Use other tools with stacked pull requests

Use stacked pull requests with tools like Jujutsu, Sapling, or git-town.

Using query parameters to create a pull request

Use query parameters to create custom URLs that open pull requests with pre-filled titles, descriptions, labels, and more.

Pull request reviews

Review pull requests to provide feedback, suggest changes, and ensure code quality before merging.

Status checks

Understand how status checks ensure commits meet repository conditions, assist pull request reviews, and manage validations like builds, tests, and deployments.

Pull request merges

Learn strategies for merging pull requests, including merge commits, squash merges, and rebases, to manage repository history effectively.

Merge conflicts

Identify and resolve merge conflicts in Git to ensure smooth branch integration and successful pull request merges.

Managing and standardizing pull requests

Manage and standardize pull requests using templates, code owners, protected branches, rulesets, and automated tools for consistent and secure repository contributions.