Find a Pull Request on Github where a commit was originally created

后端 未结 6 2139
暗喜
暗喜 2020-12-12 11:14

Pull Requests are great for understanding the larger thinking around a change or set of changes made to a repo. Reading pull requests are a great way to quickly \"grok\" a p

6条回答
  •  星月不相逢
    2020-12-12 11:51

    I had this same problem and wrote the pr_for_sha bash helper, documented here:

    http://joey.aghion.com/find-the-github-pull-request-for-a-commit/

    Call it like pr_for_sha and it will open the corresponding github pull request page in a browser.

提交回复
热议问题