Pull Request

About

Pull request are not really a part of Git but are found really often in its workflow.

With a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch.

Pull requests show diffs, or differences, of the content from both branches. The changes, additions, and subtractions are shown in green and red.

As soon as you make a commit, you can open a pull request and start a discussion, even before the code is finished.

By using the mention system (something like @name) in the pull request message, you can ask for feedback from specific people or teams.

When the change have been imported, the branch is normally deleted.

Configuration

Automatic rebase of a branch before a PR

git config branch.autosetuprebase local

Documentation / Reference





Discover More
Git - rebase

rebase is designed to integrate changes from one branch into another branch. Imagine this commit history (log) with a remote and a local branch where the commit in the remote branch will be integrated...
Git - Refs

A ref (or reference) is a human-readable name given to a commit SHA-1 hash. When referring to a Git commit, you can refer it by name with a reference A Git reference can be rewritten to point to a new...



Share this page:
Follow us:
Task Runner