Pull Request

> Code - (Programming|Computer) Language > Code Versioning > Git

1 - 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.

3 - Configuration

Automatic rebase of a branch before a PR

git config branch.autosetuprebase local
Advertising

4 - Documentation / Reference

code/version/git/pr.txt · Last modified: 2019/01/25 11:44 by gerardnico