For Example, i wanted to know which k8 version has the fix for https://github.com/kubernetes/kubernetes/pull/23265/commits
From the commit history it shows that the change has been merged to 'master'
git describe
git describe
is intended for questions like yours.
git describe <sha>
)git describe <sha> --contains
)git describe <sha>--all
)Try these steps:
k8s
source: git clone https://github.com/kubernetes/kubernetes/
cd kubernetes
git describe 2d064083001a7a7f7dfc8a5f8f2fc50582449bf6 --contains
v1.4.0-alpha.3~307^2
Voila, at least v1.4.0-alpha.3
contains PR 23265