Ævar Arnfjörð Bjarmason [off-list ref] writes:
On Fri, Jun 22, 2012 at 4:58 PM, ryenus [off-list ref] wrote:
quoted
Given a certain commit, I want there's a command/option for git to
make it search the remote repo (e.g. origin) and tell me the
branches there which contain that commit.
git branch --contains <commit>
git branch -a --contains <commit>
git tag --contains <commit>
Yes and no. These are all local operations, so you would need to do
a "git clone" before starting to dig history like that.