git visual diff between branches

前端 未结 16 2028
独厮守ぢ
独厮守ぢ 2020-12-12 08:35

This answer is great for seeing a visual diff between two files that are checked into git: How do I view 'git diff' output with a visual diff program?

Howev

16条回答
  •  猫巷女王i
    2020-12-12 09:10

    You can also do this easily with gitk.

    > gitk branch1 branch2
    

    First click on the tip of branch1. Now right-click on the tip of branch2 and select Diff this->selected.

提交回复
热议问题