当前分支代码 checkout 后 git rev-list --count main 可以得到 main 分支的 commit 次数。
这个次数最终编译到 dll 版本号里面,比如 1.0.0.2345
能不能根据 2345 找到对应的 git 的 commit id
万分感谢