git show commit in beyond compare

后端 未结 6 1702
半阙折子戏
半阙折子戏 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:20

    I managed to use git difftool to see commits that I normally used to see via git show.

    git show $commit translates to git difftool $commit^ $commit.

    The above command shows difference between commit's parent ($commit^) and commit. All this is of course after configuring Beyond Compare with difftool.

提交回复
热议问题