比较git分支 - 交换基础和目标分支是否已损坏? [英] Compare git branches - Switch base and target branches broken?
问题描述
如果我比较VSTS / Code / Branches中的两个分支,我会看到它们之间的变化,所以这一切都很好。
但是当我点击"切换基础和目标分支"时按钮我看到一组非常不同的更改(不是从上一步骤镜像的更改)。
If I compare two branches from VSTS/Code/Branches I see the changes between them, so that's all good.
But when I click the "Switch base and target branches" button I see a very different set of changes (not the changes mirrored from the previous step).
这是一个错误还是打算像这样工作?
Is this a bug or is this intended to work like this?
我假设我会得到与做
git diff branchA branchB
和
git diff branchB branchA
git diff branchA branchB
and
git diff branchB branchA
但现在情况并非如此。
推荐答案
感谢您在这里发帖。
根据我的理解,是的,因为你在比较不同的分支机构。你也在刷树枝,树枝的内容各不相同。
As per my understanding yes it is intended to work like this as you are comparing the different branches. Also you are swiping the branches and contents of the branch vary from one another.
希望它有所帮助!
问候,
这篇关于比较git分支 - 交换基础和目标分支是否已损坏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!