开发者

How to compare newest commit to oldest commit in gitk

开发者 https://www.devze.com 2023-03-21 02:41 出处:网络
When I do gitk --follow <filename>, the left pane lists all the commits of the given filename. If I click one of those commits, the bottom-left pane (just below the commit/branch/tag list), sho

When I do gitk --follow <filename>, the left pane lists all the commits of the given filename.

If I click one of those commits, the bottom-left pane (just below the commit/branch/tag list), shows a diff between this selected commit and the previous one.

Is there a way to tell gitk to show a diff between this selected commi开发者_如何转开发t and the oldest commit? (i.e. the one at the bottom of the list)


Select the new commit, then right-click the old commit (without selecting it first) and choose "Diff this -> selected".

0

精彩评论

暂无评论...
验证码 换一张
取 消