[英]git diff is not showing in meld in ubuntu 14.04?
我在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
上看到差異。
正如我在“ 如何將Meld設置為git mergetool ”中提到的那樣 ,您必須將Meld聲明為difftool
git config --global diff.tool meld
或者使用git difftool --tool=meld
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.