Git 如何查看变更集在树中的日志?

Git 如何查看变更集在树中的日志?,git,Git,我想查看更改集创建时的git日志。说我有 $ git log --oneline 123456 most recent stuff 243456 slightly older 153456 a while ago 123354 jeez I forgot about this 888234 is this even the same project? 123999 initial commit 我想记住“天哪,我忘了这件事”是怎么做的。我相信我能做到 $ git diff 888234..12

我想查看更改集创建时的git日志。说我有

$ git log --oneline
123456 most recent stuff
243456 slightly older
153456 a while ago
123354 jeez I forgot about this
888234 is this even the same project?
123999 initial commit
我想记住“天哪,我忘了这件事”是怎么做的。我相信我能做到

$ git diff 888234..123354
看到变化。这真的是唯一的方法吗?它看起来很笨重,因为它迫使我查找两个sha,而不仅仅是我感兴趣的一个


有什么方法可以简洁地做到这一点吗?

试试看git show 123354这就是你想要的吗