title: Can TortoiseMerge be used as a difftool with Windows Git Bash?
body: <p>I'm just starting to work with Git.  I would like to use TortoiseMerge as the difftool and mergetool.</p>
  <p>In my <code>$HOME/.gitconfig</code> I have the following sections. I've removed the user and color sections for this question.</p>
  <pre><code>[merge]
      tool = tortoisemerge
  [mergetool &quot;tortoisemerge&quot;]
      cmd = \&quot;TortoiseMerge.exe\&quot; -base:\&quot;$BASE\&quot; -mine:\&quot;$LOCAL\&quot; -theirs:\&quot;$REMOTE\&quot; -merged:\&quot;$MERGED\&quot;
  [diff]
      tool = tortoisemerge
  [difftool &quot;tortoisemerge&quot;]
      cmd = \&quot;TortoiseMerge.exe\&quot; -base:\&quot;$BASE\&quot; -mine:\&quot;$LOCAL\&quot; -theirs:\&quot;$REMOTE\&quot; -merged:\&quot;$MERGED\&quot;
  </code></pre>
  <p>If I type tortoisemerge at the Git Bash prompt it loads. It is known to be on the path. But if I type the command I get the following error.</p>
  <pre><code>Rich:mygittest (master *)
  $ git difftool
  error: 'tortoisemerge' can only be used to resolve merges
  merge tool candidates: kompare emerge vimdiff
  No known merge resolution program available.
  external diff died, stopping at readme.txt.
  Rich:mygittest (master *)
  $ 
  </code></pre>
  <p>What am I not understanding to make this work?
  Tortoisemerge is installed with TortoiseSVN.</p>