这是一个创建于 4010 天前的主题,其中的信息可能已经有所发展或是发生改变。
今天遇到一个特殊使用情况:现在我知道某个commit,想看这个commit之后提交的commit。
git有"--reverse"这个参数,似乎只能是从最开始的commit开始,不能“git log --reverse <commit>”这样用。
请问有解决方法吗?谢谢。
2 条回复 • 1970-01-01 08:00:00 +08:00
 |
|
1
timonwong 2014-02-26 14:22:09 +08:00 1
git log --reverse <commit_id_start>..[commit_id_end]
commit_id_end可忽略
|
 |
|
2
primer 2014-02-26 14:46:02 +08:00 1
|