Is there a way to see git diff from origin/master using Visual Studio Code?

前端 未结 5 1946
感动是毒
感动是毒 2021-01-31 13:41

Using Visual Studio Code (version 1.11.2), I can see a side-by-side graphical diff of my current changes very easily by clicking the Source Control button in the left p

5条回答
  •  鱼传尺愫
    2021-01-31 14:05

    I use GitLens extension as well. Go to Source Control tab, right click on file you want to compare with origin/master (or other) branch. From the menu choose Open Changes with... and pick a branch.

提交回复
热议问题