Git Symlinks in Windows

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

    I use sym links all the time between my document root and git repo directory. I like to keep them separate. On windows I use mklink /j option. The junction seems to let git behave normally:

    >mklink /j

    for example:

    >mklink /j c:\gitRepos\Posts C:\Bitnami\wamp\apache2\htdocs\Posts

提交回复
热议问题