如何比较 Visual Studio Code 中的不同分支 [英] How to compare different branches in Visual Studio Code

查看:86
本文介绍了如何比较 Visual Studio Code 中的不同分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何比较 Visual Studio Code 1.9 中的不同分支?

有可能吗?

解决方案

2021 answer

以下是分步指南:

  1. 安装 GitLens 扩展:

    1. 点击搜索&比较

    1. 点击比较参考文献

    1. 选择要比较的分支:

    1. 现在,您可以从搜索"和搜索"中选择要查看差异的任何文件.比较

    How do I compare different branches in Visual Studio Code 1.9?

    Is it possible?

    解决方案

    2021 answer

    Here is the step by step guide:

    1. Install the GitLens extension: GitLens
    2. Then, Click on Source Control:

    1. Click on Search & Compare

    1. Click on Compare References

    1. Select the branches you want to compare:

    1. Now, You can select any file for which you want to see the diff from Search & Compare

    这篇关于如何比较 Visual Studio Code 中的不同分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆