You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)?
Yes - I believe so. I considered looking into changing it myself, but didn’t have the time. So unless someone else have fixed it I think it would be - can test at some point.
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 usingmlink /D link target
instead, and then files in the linked folder is not deleted.Thanks
The text was updated successfully, but these errors were encountered: