Skip to content

JackPGreen/backport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

backport

This tool backports the latest commit pointed by on the top of by crating a new branch. Then it pushes the newly created branch and creates a new PR.

Usage: 
backport <source-ref> <target-branch> [-c | --continue] [-l | --local] [-ni | --non-interactive]

Options:
  -l, --local            Skip pushing the branch and creating the PR
  -c, --continue         Continue backporting after fixing cherry-pick conflict
  -ni, --non-interactive Headlessly creates the PR automatically, without previewing in web browser

What does it do:
   'backport master upstream/5.2.z' - will perform the following actions:
    - create a new branch from upstream/5.2.z
    - cherry-pick the latest commit from master and append its message with ' [5.2.z]'
    - push the new branch to origin
    - create a PR from the new branch to 5.2.z branch with body and labels from the original PR (if found)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%