查看单次提交历史

View Single Commit History

有没有办法查看单个提交多次修改的历史记录?我正在使用 gerrit,它将修改后的提交列表显示为补丁集。我会使用 gerrit 查看更改,但我正在解决冲突,因此我现在无法将我的更改推送到 gerrit,所以我需要一些本地的东西。

如果我没有正确理解你的问题,那是不可能的。修改提交 rewrites history(强调我的):

But, amending doesn’t just alter the most recent commit—it replaces it entirely. To Git, it will look like a brand new commit, which is visualized with an asterisk (*) in the diagram above. It’s important to keep this in mind when working with public repositories.