使用Visual Studio的git分支之间的差异 [英] Differences between git branches using Visual Studio

查看:650
本文介绍了使用Visual Studio的git分支之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



使用其他Git程序,我可以轻松地比较版本,但是我可以'看看它是如何在VS中完成的。



任何人都可以帮忙吗?
谢谢

解决方案

我只是花了一点时间玩当前版本的VSTS,并发现它2016年10月):
$ b $ ol <

  • 转到代码 - >分支

  • 单击commit diff count在截图中更新日期的右侧:

  • 你到一个显示两者之间的提交差异的页面,以及一个文件比较


    I'm trying to understand how two compare between branches or different commits using VS 2015.

    Using other Git programs I can easily compare versions, but I can't see how it's done in VS.

    Can anyone help? Thanks

    解决方案

    I just spent a bit of time playing with the current version of VSTS and figured it out (as of October 2016):

    1. Go to Code -> Branches
    2. Click on the commit diff count to the right of the updated date as in this screenshot:

    This will take you to a page that shows both a commit difference between the two, and a file comparison

    这篇关于使用Visual Studio的git分支之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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