Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samugi/gh-compr
https://github.com/samugi/gh-compr
gh-extension
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samugi/gh-compr
- Owner: samugi
- Created: 2024-07-09T07:18:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T12:18:33.000Z (5 months ago)
- Last Synced: 2024-10-14T10:37:08.155Z (3 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh-compr
A simple script I made to help me review cherry-picked pull requests where diffs are expected to be similar.
It fetches the PRs' diffs using the GitHub API so it works on deleted branches too.
It outputs a (cleaned up) diff of the PRs' diffs to highlight any differences.## Installation
```bash
gh extension install https://github.com/samugi/gh-compr
```## Usage
```bash
gh compr [-o output.diff]
Diff saved to output.diff
```