Skip to content

Git cannot create Windows native symlinks #27

Open
@ghost

Description

Cygwin can easily create Windows native symlinks:

touch alfa.txt
CYGWIN=winsymlinks:native ln -s alfa.txt bravo.txt

However Cygwin Git seems to have no way to create Windows native symlinks:

CYGWIN=winsymlinks:lnk git clone git://github.com/stedolan/jq

creates README as a Shortcut (.lnk) file.

CYGWIN=winsymlinks:native git clone git://github.com/stedolan/jq

creates README as a Cygwin symlink, not a Windows native symlink.

CYGWIN=winsymlinks:nativestrict git clone git://github.com/stedolan/jq

just creates a plain text file, not even a symlink:

$ cat jq/README
README.md

http://cygwin.com/ml/cygwin/2017-03/msg00110.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions