M
M
Mercury132022-04-22 03:20:23
git
Mercury13, 2022-04-22 03:20:23

How to make Git support Windows symlinks like regular files?

And then it supports them as symbolic links. And I don't want that. I'm running two projects with shared custom libraries and want to automatically sync those libraries.

It would be possible to keep it in one Git - but questions with releases on GitHub. The programs are different, the releases are not synchronized. One is already in beta and I am diligently driving towards the finished state, the other is just pre-alpha.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuznetsov, 2022-04-26
@sergey-kuznetsov

Counterquestion. What should Git do when switching branches? If it treats links as files, then it will forcefully change this library in all projects where it is used. Why do you need this?
Don't reinvent the wheel. The shared library is included as a submodule or as a subtree.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question