【问题标题】:How to compare GIT Remote Repo and local in Netbeans如何在 Netbeans 中比较 GIT 远程仓库和本地仓库
【发布时间】:2013-08-05 19:11:03
【问题描述】:

我在 Netbeans 7.3 中使用 git。我有提交到本地存储库的类。我想比较一下本地和远程Github存储库之间的变化。

【问题讨论】:

    标签: git netbeans version-control github


    【解决方案1】:

    正如我在“Netbeans: How to show all (git) commits than will be pushed?”中提到的,不支持和高级git log(或git diff 查看器)in Git for Netbeans

    因此,shell 仍然是备份选项,其命令类似于“compare local git branch with remote branch?”中提到的命令:

    git diff --stat --color master..origin/master
    git diff master..origin/master
    

    【讨论】:

      猜你喜欢
      • 2018-02-06
      • 1970-01-01
      • 2018-12-05
      • 2019-06-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-17
      相关资源
      最近更新 更多