A
A
Alexander Arbuzov2018-04-19 10:54:04
git
Alexander Arbuzov, 2018-04-19 10:54:04

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

2 answer(s)
Z
Zlatoslav Desyatnikov, 2018-04-19
@pxz

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).

I
Igor Vorotnev, 2018-04-19
@HeadOnFire

close the .git folder itself for access, otherwise there are no problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question