https://github.com/adeekshith/whichpr
Find pull request from commit id
https://github.com/adeekshith/whichpr
Last synced: about 1 month ago
JSON representation
Find pull request from commit id
- Host: GitHub
- URL: https://github.com/adeekshith/whichpr
- Owner: adeekshith
- Created: 2016-05-26T13:29:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-26T13:44:46.000Z (about 10 years ago)
- Last Synced: 2025-01-10T05:55:55.253Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whichpr
Find the pull request from commit id
Pull requests have lots of information regarding why the commit is made and approved so knowing which pull request the commit is part of will be very helpful. Sometimes it is more helpful than `git blame`. This script helps you to easily get the pull request from the commit ID (SHA).
## Install
- Clone this repo
- Add symlink `ln -s ~/your-download-path/whichpr/whichpr /usr/local/bin/whichpr`
## Usage
`whichpr `
`whichpr c3gdt64ye`
## Limitations:
- This only works for Bitbucket at present.
- Shell script is made for Mac only. Need some changes to make it work for other platforms.
Feel free to make a pull request to improve this. Thanks.