Вопрос

Sort of new to Git, but I'm thinking of moving over from SVN. I know that Git does not allow you to block off a single directory from users, so it's all or nothing in terms of access, but a frequent scenario I have is that I want to use source control for a whole project, but share only the /bin directory with a client. Are there strategies or best practices for this? I'm looking at BitBucket as a host, so I wouldn't be hosting Git myself, therefore I don't think I can make any modifications to how Git works.

What do you guys do?

Это было полезно?

Решение

Put the bin directory in a separate repository. If it must be a subdirectory, use submodules.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top