Ignoring symlinks in git

后端 未结 1 1218
天涯浪人
天涯浪人 2021-01-11 12:30

Is there a way to make git completely ignore symlinks (leave them in the tree, but not create them on checkout)? Alternatively, is there a way to make git convert between s

相关标签:
1条回答
  • 2021-01-11 12:58

    On the "ignoring symlink" side, you could set the config core.symlinks configuration variable to false (as a local config within the Windows Git repo):

    Symlinks would be checked out as small plain text files that contain the path of the file system object that it links to, but without creating said target object.

    0 讨论(0)
提交回复
热议问题