Answer the question
In order to leave comments, you need to log in
Is it acceptable to deploy git in the production site directory?
There is a battle site. Now improvements are taking place on it. In the process of deploying a normal scheme with a dev server. While everything is being prepared and tested, I would like to be able to track changes taking place on the production site.
How much deployment is allowed in his git directory? Doesn't this pose any security issues?
Answer the question
In order to leave comments, you need to log in
This is common practice.
There will be no security problems if the web server is configured correctly (forbidding it to go to the .git folder).
close the .git folder itself for access, otherwise there are no problems
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question