Git:如何查看两个远程分支的不同之处?
我有两个远程分支需要检查不同的分支吗?
例子:
掌握和发展
的
开发和修复-xyz
查看更改的文件然后查看哪些行发生更改的 git 注释是什么>?
假设我正确地阅读了您的问题,并且假设它们已打开origin,您可以执行以下操作:
git diff remotes/origin/origin remotes/origin/develop
Run Code Online (Sandbox Code Playgroud)
和
git diff remotes/origin/develop remotes/origin/fix-xyz
Run Code Online (Sandbox Code Playgroud)