git show commit in beyond compare

后端 未结 6 1706
半阙折子戏
半阙折子戏 2021-02-05 06:46

I would like to see a specific commit in Beyond Compare or any other separate diff tool while viewing it via git show. I tried looking at help of git show/difftool/

6条回答
  •  梦如初夏
    2021-02-05 07:16

    This worked for me nicely, to show the diff of the last commit

    git difftool HEAD~ HEAD
    

    For other commits you can replace HEAD with commit hash eg:

    git difftool 1234ABCD~ 1234ABCD
    

提交回复
热议问题