title: How to get Git on Windows to ignore symbolic links
body: <p>I can't get this to work. </p>
  
  <p>I have cloned a repository that has a dummy file (named src): <code>/path/src</code>.</p>
  
  <p>On Windows I have created a symbolic link: <code>mklink -d /path/src /otherplace/src</code> (but I of course had to delete the dummy src file first).<br>
  In both my <code>.gitignore</code> and <code>.git/info/exclude</code> I have </p>
  
  <pre><code>/path/src/ 
  /path/src 
  path/src/
  path/src
  </code></pre>
  
  <p>And I have tried </p>
  
  <pre><code>git ls-files -s | gawk '/120000/{print $4}'
  
  git update-index path/src/ --assume-unchanged
  </code></pre>
  
  <p>but I still get: </p>
  
  <pre><code>error: readlink("path/src"): Function not implemented
  error: unable to index file path/src   
  fatal: updating files failed
  </code></pre>
  
  <p>I have tried all <a href="https://stackoverflow.com/questions/3511312/ignore-symbolic-links-in-gitignore">these</a> <a href="https://stackoverflow.com/questions/11662868/what-happens-when-i-clone-a-repository-with-symlinks-on-windows">other</a> <a href="https://stackoverflow.com/questions/5556144/git-windows-how-do-i-stop-git-from-following-symbolic-links">suggestions</a>. And even <a href="https://stackoverflow.com/questions/5917249/git-symlinks-in-windows">this doesn't work</a>.<br>
  Any ideas?</p>