Description

git-backport fetches a commit from a remote repository and applies it on top of the current branch. Conceptually git-backport is similar to the following two Git commands:

  1. git fetch <REMOTE-REPO> <HASH>
  2. git cherry-pick FETCH_HEAD

git-backport will always use the commit message "Backport <HASH>" for the new commit to make it easier to create a "backport pull request" (for example via git-pr-create).

Usage

Examples

Configuration

Source

See GitBackport.java.