Find the merge and pull request a commit came from, also finding straight cherry-picks.
gem install git-whence
or as standalone binary (needs any ruby)
curl -sL https://github.com/grosser/git-whence/releases/download/v0.4.0/git-whence > /usr/local/bin/git-whence && \
chmod +x /usr/local/bin/git-whence && \
git-whence --version
git-whence 6d37485
Merge pull request #10486 from foo/bar
git-whence 6d37485 -o
-> open browser on github pull request page
Michael Grosser
[email protected]
License: MIT