【问题标题】:git diff is not showing in meld in ubuntu 14.04?git diff 没有显示在 ubuntu 14.04 的融合中?
【发布时间】:2016-05-24 07:26:12
【问题描述】:

我在我的ubuntu 14.04 system 中安装了meld。遵循这些命令。
在下面directory path

anurag@LIBSERV-PC:~$mkdir -p work/crap
anurag@LIBSERV-PC:~$cd work/crap
anurag@LIBSERV-PC:~/work/crap$git clone https://git.gnome.org/browse/meld
anurag@LIBSERV-PC:~/work/crap$cd meld
anurag@LIBSERV-PC:~/work/crap/meld$sudo apt-get install intltool itstool gir1.2-gtksource-3.0 libxml2-utils
anurag@LIBSERV-PC:~/work/crap/meld$sudo python setup.py install

似乎安装正确。我正在以下位置处理我的rails project

 anurag@LIBSERV-PC:~/vikas/template$ git diff lib/common_methods.rb

但在我的系统中git diff 没有显示在meld software 中。
我只看到 terminal 的区别。

【问题讨论】:

    标签: ruby-on-rails git ubuntu meld


    【解决方案1】:

    正如我在“How to set Meld as git mergetool”中提到的,你仍然必须将 meld 声明为 difftool

    git config --global  diff.tool meld
    

    或使用git difftool --tool=meld

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-04
      • 2015-10-14
      • 1970-01-01
      • 2011-08-17
      • 2011-06-11
      • 1970-01-01
      • 2011-07-12
      • 1970-01-01
      相关资源
      最近更新 更多