Gui*_*ier 9 git version-control commit git-status
如何git status在过去的提交中查看已更改的文件?
git status
注意:这个问题可能已经被问过了,但措辞却截然不同.但是,我惊讶地发现在Google上搜索以下表达式并没有产生任何有用的结果:git status for past commit.
git status for past commit
eft*_*ft0 17
git show --name-status <commit>
Gui*_*ier 9
我发现:
git show --stat --oneline b8351c4
哪里b8351c4是认为提交。
b8351c4
Mur*_*nik 6
git status这里是错误的命令。如果您想查看之前的提交做了什么,您应该使用git show <commit>.
git show <commit>
归档时间:
8 年,6 月 前
查看次数:
4445 次
最近记录:
8 年,5 月 前