Skip to content

leofeyer/gh-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh merge

gh merge is a GitHub CLI extension to squash and merge PRs. The commit message will be the PR description followed by the list of commits.

Installation

Make sure you have gh and git installed. Then run:

$ gh extension install leofeyer/gh-merge

Usage

$ gh merge 1234

If you are on a branch that you have checked out with gh pr checkout 1234, you can omit the PR number:

$ gh merge

Use the --auto flag to enable auto-merging:

$ gh merge 1234 --auto

Use the --admin flag to merge the PR with admin privileges:

$ gh merge 1234 --admin

About

A GitHub CLI extension to to squash and merge pull requests.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages