在Git中,我如何看待与开发大师之间的差异? [英] In Git how can I see the diff from master to develop?

查看:85
本文介绍了在Git中,我如何看待与开发大师之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Git中,我如何看待与开发者的差异?

我想看到两个分支中所有不相同的事物

解决方案

这些 答案,您可以执行此操作通过使用 git-diff 来:

  • 查看所有差异:

    git diff master..develop
    

  • 列出不同的文件:

    git diff --name-status master..develop
    

In Git how can I see the diff from master to develop?

I want to see everything that is not the same of the two branchs

解决方案

As explained in these other answers, you can do this by using git-diff to:

  • View all the differences:

    git diff master..develop
    

  • List files that are different:

    git diff --name-status master..develop
    

这篇关于在Git中,我如何看待与开发大师之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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