列出为特定的git提交而修改的文件 [英] List files modified for particular git commit
本文介绍了列出为特定的git提交而修改的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有commit, abc
,我想列出为提交而修改的文件。
什么是git命令,它将列出该提交的修改过的文件?
解决方案
仅适用于文件名:
git show --name-only abc
git show --name-status abc
I have commit,
abc
, and I want to list files that were modified for the commit.What is the git command which will list modified files for that commit?
解决方案For filenames only:
git show --name-only abc
To see a summary of what happened to them:
git show --name-status abc
这篇关于列出为特定的git提交而修改的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文