今天遇到一个特殊使用情况:现在我知道某个commit,想看这个commit之后提交的commit。
git有"--reverse"这个参数,似乎只能是从最开始的commit开始,不能“git log --reverse <commit>”这样用。
请问有解决方法吗?谢谢。
git有"--reverse"这个参数,似乎只能是从最开始的commit开始,不能“git log --reverse <commit>”这样用。
请问有解决方法吗?谢谢。
1
timonwong Feb 26, 2014 git log --reverse <commit_id_start>..[commit_id_end]
commit_id_end可忽略 |