Git and hard links

后端 未结 4 651
囚心锁ツ
囚心锁ツ 2020-11-28 04:31

Considering that Git does not recognize symbolic links that point outside of the repository, is there any problem using hard links?

Could Git break them? Can you pl

4条回答
  •  半阙折子戏
    2020-11-28 04:59

    From this msysgit issue

    Junction points are not symbolic links; therefore, symbolic links are simply unsupported in msysGit.

    Also, hard links were never tracked by Git.

    The issue were Windows-oriented (since it is about msysgit) and debate about the potential support of symlink.
    But the comment about hard link concerns Git in general.

提交回复
热议问题