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:
git fetch <REMOTE-REPO> <HASH>
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
git-backport [options] --from <REMOTE-REPO> <HASH>
Examples
git backport --from https://github.com/openjdk/jdk9 8f73a84a15dacfa2cfa6caac3c2a7f1edad0b00f
Configuration
git-backport [options] <HASH>
-u, --username NAME Username on host
--from REPO Repository to backport from
--verbose Turn on verbose output
--debug Turn on debugging output
--version Print the version of this tool
-h, --help Show this help text
Source
See GitBackport.java.
Overview
Content Tools
ThemeBuilder