More than 1 year has passed since last update.

~/.gitconfig

c.f. http://ptech.g.hatena.ne.jp/noromanba/20120602/1338633091 (written in Japanese)

~/.gitconfig
[merge]
    tool = WinMerge
[mergetool "WinMerge"]
    path = C:/Program Files/WinMerge/WinMergeU.exe
    cmd = \"C:/Program Files/WinMerge/WinMergeU.exe\" /m /r=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
[diff]
    tool = WinMerge
    guitool = WinMerge
[difftool "WinMerge"]
    path = C:/Program Files/WinMerge/WinMergeU.exe
    cmd = \"C:/Program Files/WinMerge/WinMergeU.exe\" -e -ub -dl \"Base\" -dr \"Mine\" \"$LOCAL\" \"$REMOTE\"

How To Use

GitBash
$ git difftool [-y]
GitBash
$ git mergetool [-y]

Environment

OS       | Windows XP SP3
MinGW    | MINGW32_NT-5.1 %COMPUTERNAME% 1.0.12(0.46/3/2) 2011-07-20 17:52 i686 unknown
Git      | git version 1.7.8.msysgit.1
WinMerge | Version 2.13.20.12+-jp-12 - Japanese Unicode x86

:-p

selfish Git Advent Calendar / Jun.

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.