使用 vs code 插件 GitLens 对比不同分支代码

543 阅读1分钟

1、vs code 安装 GitLens 插件

image.png

2、点击 vs code 左侧"GitLens"图标

image.png

3、点击compare references,选择新、老分支

image.png

4、显示分支commit及更改文件

image.png