过去提交的git状态?

Gui*_*ier 9 git version-control commit git-status

如何git status在过去的提交中查看已更改的文件?

注意:这个问题可能已经被问过了,但措辞却截然不同.但是,我惊讶地发现在Google上搜索以下表达式并没有产生任何有用的结果:git status for past commit.

eft*_*ft0 17

git show --name-status <commit>


Gui*_*ier 9

我发现:

git show --stat --oneline b8351c4

哪里b8351c4是认为提交。


Mur*_*nik 6

git status这里是错误的命令。如果您想查看之前的提交做了什么,您应该使用git show <commit>.