Skip to main content

Symlinks in github repo on Windows

Git client is able to also store symlinks in the repository. This works well on Mac but unfortunately on Windows it is not (at least not by default).

So to make it work on Windows 10 you need 
Install git-scm (Git For Windows) with enabled option Enable Symbolic Links (by default it is disabled so you may need to reinstall)

Then to run cmd as Administrator and clone with the following params
git clone -c core.symlinks=true <URL>
And that's it.

Comments