标题翻译
How to get a list of folders and files in particular commit id with jgit
问题
我看过很多教程,但没有找到获取特定提交编号中的所有文件和文件夹的代码。提前谢谢。
英文翻译
I have seen a lot of tutorials but I haven't found any code for getting all the files and folders in a particular commit id. Thanks in advance.
答案1
得分: 0
尝试一下,
git show --pretty="" --name-only bd61ad98
英文翻译
Try this,
git show --pretty="" --name-only bd61ad98
专注分享java语言的经验与见解,让所有开发者获益!
评论