Answer the question
In order to leave comments, you need to log in
How to organize repositories for different developers?
Hello everyone, I am working on a project implemented in Yii2.
There are programmers, and there are layout designers, the task is to separate accesses, i.e. the layout designer should have access only to the frontend folder, and the programmers can climb everywhere, but at the same time it’s all one git repository ( joxi.ru/MAjGnZ8fvB39or ), there was an idea to make a repository in repositories, but git sees that the internal folder belongs to the repository. How to be? =)
If it's a little simpler: there is one project in which the layout designer cannot be given the backend code, otherwise he will like it and copy it for himself.
I see it as different turnips for the back and front folders ... but maybe there is a better solution.
Answer the question
In order to leave comments, you need to log in
To put it a little simpler: there is one project in which the layout designer cannot be given the backend code, otherwise he will like it and copy it for himself.
I would set up hooks with a breakdown of rights by group. I did this in my projects, everything works fine.
https://habrahabr.ru/post/75990/adw0rd.com/2015/6/26/git-directory-permissions
_
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question