Where to download kernel version "4.14.101-g56136f5a7cad-dirty"

Does any one knows how to download 4.14.101-g56136f5a7cad-dirty kernel? Or how to modify the kernel version to this one?

Thanks.

For whoever visit this post, it’s added by git.

If code changed in kernel, and didn’t commit, git will add a ‘-dirty’ suffix to the version string.

Regards

In my understanding you can get 4.14.101-g56136f5a7cad for hikey960 like below.

git clone https://android.googlesource.com/kernel/hikey-linaro
cd hikey-linaro
git checkout -b branch_4.14.101 origin/android-hikey-linaro-4.14
git reset --hard 56136f5a7cad74c4caa4951dafc36d87b4d2f049

Note: hard reset will remove all changes above commit 56136f5a7cad in the current branch permanently.

If you build the above source you can get “4.14.101-g56136f5a7cad
If you edit any tracked files, it will append “dirty” to kernel version…

Thank you very much. I was wondering about the “g56136f5a7cad” part. You explanation is very clear.