Stephan Ahlf Stephan Ahlf - 2 years ago 111
Git Question

How to add symlinks to git repository on Windows?

I compile binaries for OS X using GitHub' s electron environment and want to add the output to a git repository.

I tried

git add .
error: readlink(" Framework.framework/Electron Framework"): Function not implemented
error: unable to index file Framework.framework/Electron Framework
fatal: adding files failed

Any idea to work around this?

Answer Source

Windows command

mklink /H "Link_File_Path" "Target_File_Path"

Use above command to create a hard link for all your output files. That will work. I did similar stuff for git hooks.

Refer this link for more info about mklink

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download