Skip to content

Instantly share code, notes, and snippets.

@donatj donatj/prblame
Created Jun 21, 2017

Embed
What would you like to do?
Find the pull request a line of a file was added with
#!/bin/bash
set -e
blame=$(git blame "$1" -L "$2,$2" -p)
open "https://github.com/search?type=Issues&q=${blame:0:40}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.