11

In Git bash i have run the following:

ln -s "//server/path/Resource/" test

When I check if it's worked:

ls -l

It appears as a folder rather than a symlink. I am using windows and trying to create a symbolic link to a network location. This is probably an easy fix but i just want a shortcut rather than copying a massive folder.

Michael Shopsin
  • 2,055
  • 2
  • 24
  • 43
TaxiMike
  • 189
  • 1
  • 9
  • There's some explanation & workarounds here: https://superuser.com/questions/550732/use-mklink-in-msys – AmeliaBR Jan 31 '19 at 00:32

1 Answers1

1

make sure your git config points symbolic links as true.

core.symlinks=false

make this as true as by default it is

user2636464
  • 685
  • 7
  • 17
  • 1
    That's not sufficient. I have symlinks=true in the [core] section of C:\ProgramData\Git\config, and ln still copies instead of creating a symlink. – AJM Dec 08 '20 at 16:34