Git Symlinks in Windows

前端 未结 13 1583
执念已碎
执念已碎 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:41

    2020 Answer

    1. Enable "Developer mode" in Windows 10 -- gives mklink permissions
    2. Ensure symlinks are enabled in git
      • git config --global core.symlinks true
      • or check the checkbox when installing msysgit

    Switching branches will force the recreation of missing symlinks.

    Be careful, support for Symlinks on Windows with some other Git clients is not complete. Notably GitKraken.

提交回复
热议问题