Skip to main content

Reference for pull requests

Find detailed guidance 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.

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.

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.

Working with pre-receive hooks

Enforce repository policies and prevent issues like secrets or invalid commits using pre-receive hooks on GitHub Enterprise Server.