https://github.com/aitorvs/gh-merge-pr
GitHub CLI extension to squash and merge PRs and replace the PR commit message with the PR description
https://github.com/aitorvs/gh-merge-pr
gh-extension git github
Last synced: 28 days ago
JSON representation
GitHub CLI extension to squash and merge PRs and replace the PR commit message with the PR description
- Host: GitHub
- URL: https://github.com/aitorvs/gh-merge-pr
- Owner: aitorvs
- Created: 2021-11-21T19:34:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-08T08:44:28.000Z (over 4 years ago)
- Last Synced: 2025-06-18T15:47:18.611Z (12 months ago)
- Topics: gh-extension, git, github
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `gh merge-pr`
`gh merge-pr` is a GitHub CLI extension to squash and merge PRs but replacing the merge commit with the PR description.
## Usage
```bash
$ gh merge-pr --help
usage:
gh merge-pr [COMMANDS]
commands:
gh merge-pr Squash and merges the PR associated to the current branch
gh merge-pr Squash and merges the given PR number
[options]
-h, --help Display the help information
```
## Installation
Make sure you have `gh` and `git` installed.
Then run:
```bash
$ gh extension install aitorvs/gh-merge-pr
```
## License
This code is licensed under [The MIT License](./LICENSE).