查看文件夹的git历史记录 [英] View git history for folder
本文介绍了查看文件夹的git历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何查看文件夹中所有文件的git日志历史记录?
How can I view git log history for all files within a folder ?
我发现了几篇关于如何显示特定文件日志的文章, t找到一个特定的文件夹。
I have found several posts on how to show log for a specific file, but haven't found for a specific folder.
推荐答案
您可以使用 foldername
或文件夹名称/ *
。
git log -- path/to/folder
git log -- path/to/folder/*
此方法不会遵循重命名文件的历史记录。
History of renamed files will not be followed with this method.
这篇关于查看文件夹的git历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文