gpt4 book ai didi

git - 马 git : how to see log between 2 points

转载 作者:太空狗 更新时间:2023-10-29 13:36:27 28 4
gpt4 key购买 nike

我想知道如何在 magit 中查看像 git log ..some-branch 这样的命令的结果?

来自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.

但我不明白如何给出这个前缀参数?我应该使用哪个键序列?

最佳答案

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

关于git - 马 git : how to see log between 2 points,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13515284/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com