Git用gitpython描述子文件夹

问题描述

有一种解决方法可以在[1]中获得子文件夹的描述:

git describe $(git log -n 1 --format=%H -- path/to/subfolder)

可以在不使用subprocess.run的情况下在Python(gitpython)中复制吗?

tracking version numbers of subfolders in git

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)