magit: how to diff the same file between two different commits on the same branch?

后端 未结 3 1308
走了就别回头了
走了就别回头了 2021-01-02 01:21

How can I get the diff between two commits of the same file using magit?

Directly form git one can do this. But I don\'t k

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 01:42

    One way to go is to use vc as suggested by this related answer - in particular C-u C-x v =. However, this return a buffer without the possibility to (un)fold chunks.

提交回复
热议问题