title: Git: unable to create symlink (File name too long)
body: <p>I had pushed a project from Linux to Bitbucket and then cloned it on Windows. Turns out there were two symlinks, which appeared as textfiles on Windows. Since I knew where they should point to, I replaced them by copies of their destination files, committed and pushed.</p>
  
  <p>Now the Bitbucket repository looks okay when I look at it from their web interface. However a git clone on my Unix machine gives me two messages like:</p>
  
  <pre><code>error: unable to create symlink ... (File name too long)
  </code></pre>
  
  <p>and the two files, which were symlinks previously are absent. I tried cloning into /tmp/... to get shorter filenames, but got the same results. That suggests, that something went bad with the Bitbucket repository. I tried <code>core.symlinks</code> on and off. </p>
  
  <p>I can live without the symlinks, but I'd like to have a working repository. Does anybody know a way (other than recreating the repository)?</p>