Is there a quick way to “git diff” from the point or branch origin?

后端 未结 7 1143
北恋
北恋 2020-12-23 11:21

I have looked at various SO answers on using git diff and git revisions (HEAD, ORIG_HEAD, FETCH_HEAD, etc.) and I still haven\'t found an easy way to list the c

7条回答
  •  囚心锁ツ
    2020-12-23 12:04

    In Visual Studio 2017 there is a comfortable way to show diffs:

    1. In Team Explorer -> Branches right click the branch and select View History

    1. In the History - branch control select the commits you want the diff and select Compare Commits

    You get a nice diff overview and you can open the files in compare mode.

提交回复
热议问题