0

I have a repository in gitlab that contains some symbolic links. When I clone this repo in my linux machine, I get the links correctly

ls ./ -l

lrwxrwxrwx 1 1133 543 13 Mar 18  ALink -> build/AFile

However when I git clone this repo in my windows machine and I do this in the git bash

ls ./ -l

-rw------- 1 11250 10513 14 Jul 6 ALink

and this time this Alink is a text file with only one line: build/AFile

What can I do to clone the repo with the symlinks correctly cloned too?

Is there some kind of git config setting perhaps?

Note: notice that I am not asking how to correct the files once they have become text files back into links but how to correctly clone the repo without losing the links

KansaiRobot
  • 5,148
  • 7
  • 44
  • 95

0 Answers0