scutiger
scutiger copied to clipboard
Add command to find pull request for a commit
Oftentimes, users wish to know which pull request introduced a commit. We should add a technique which works for at least GitHub, GitLab, and Bitbucket that finds the closest pull request that introduces a commit.
Oftentimes, users wish to know which pull request introduced a commit. We should add a technique which works for at least GitHub, GitLab, and Bitbucket that finds the closest pull request that introduces a commit.
For Bitbucket I do
git when-merged --log <commit>(link)- might need
--recursiveif the project likes complex merge histories
- might need
- Take the PR number from the commit message
Pull