Git Symlinks in Windows

前端 未结 13 1558
执念已碎
执念已碎 2020-11-22 09:23

Our developers use a mix of Windows and Unix based OS\'s. Therefore, symlinks created on Unix machines become a problem for Windows developers. In windows (msysgit), the sym

13条回答
  •  南旧
    南旧 (楼主)
    2020-11-22 09:35

    It ought to be implemented in msysgit, but there are two downsides:

    • Symbolic links are only available in Windows Vista and later (should not be an issue in 2011, and yet it is...), since older versions only support directory junctions.
    • (the big one) Microsoft considers symbolic links a security risk and so only administrators can create them by default. You'll need to elevate privileges of the git process or use fstool to change this behavior on every machine you work on.

    I did a quick search and there is work being actively done on this, see issue 224.

提交回复
热议问题