On windows, the junctions created by linklocal means that git clean does not only delete the symlinks (junctions) but also the files in the linked folders, which then prevens the use of git clean with linklocal / yarn. This is apparently not the case on UNIX.
Would it be possible to change linklocal to create symlinks on Windows instead (which does exist in the NTFS filesystem now) (see mklink documentation)?
As documented here https://www.bountysource.com/issues/990899-git-clean-d-deletes-files-in-junctioned-directories-on-windows git clean -df will delete files in folders linked by junctions. I have tried the same thing using mlink /D link target instead, and then files in the linked folder is not deleted.
Thanks
On windows, the junctions created by linklocal means that git clean does not only delete the symlinks (junctions) but also the files in the linked folders, which then prevens the use of git clean with linklocal / yarn. This is apparently not the case on UNIX.
Would it be possible to change linklocal to create symlinks on Windows instead (which does exist in the NTFS filesystem now) (see mklink documentation)?
As documented here https://www.bountysource.com/issues/990899-git-clean-d-deletes-files-in-junctioned-directories-on-windows
git clean -dfwill delete files in folders linked by junctions. I have tried the same thing usingmlink /D link targetinstead, and then files in the linked folder is not deleted.Thanks