I want to know to which all branches contain a particular commit in a github.com repository. Suppose I need to list all branches which contain commit. I am aware of following ways:
- Swicth to each branch and see the last commit date and compare it with the commit's date. This is not feasible if there are multiple branches and tags.
- Checkout the github repo and do
git branch --contains <commit>
(related SO question). I would prefer not checking out the repo as I need to browse a large number of repos on a daily basis.
Both of these ways are time consuming. Is there a better way?