← Back to context

Comment by jpollock

15 hours ago

I'm surprised Git and/or Windows don't support symlinks?

Windows supports it but git disables creating symlinks by default.

> Short version: there is no exact equivalent for POSIX symlinks on Windows, and the closest thing is unavailable for non-admins by default unless Developer Mode is enabled and a relatively recent Windows 10 version is used. Therefore, symlink emulation support is only turned on by default when that scenario is detected. Support can be enabled by the user, via the core.symlinks=true config setting.

See: https://gitforwindows.org/symbolic-links.html

  • Yeah this is why I don't trust people saying devex is fixed on Windows now. Still doesn't properly clone git repos.