6

I would like to know how I can see the result of command like git log ..some-branch in magit ?

From the doc :

Giving a prefix argument to l will ask for the starting and end point of the history. This can be used to show the commits that are in one branch, but not in another, for example. The start point can also be a range of revisions “r1..r2”. In that case “r1” is used as the start and “r2” as the end point of the history.

But I do not understand how I can give this prefix argument ? Which key sequence I should use ?

4

3 回答 3

3

在当前版本的 magit 中(2.11.0截至撰写本文时),可以使用l o("log other") 显示日志范围,然后输入提交范围(例如:) HEAD~5..HEAD

于 2017-12-21T22:11:21.763 回答
2

前缀参数是用 给出的C-u。但是,这似乎不适用于我的 magit。要获取远程日志,我按“l”,然后切换到“远程短”,然后按 Enter。

于 2012-11-22T15:05:08.480 回答
2

C-u l rl对我有用:它提示输入将定义范围的两个参考。

于 2012-11-22T16:53:38.123 回答