PSA: Please hide your .git folders
h
RiversideRocks (1)

I've noticed that in the PHP web server project .git files can be accessed from the internet. With some effort, somebody could in theory rebuild your project's source code even if your project is private.

You are viewing a single comment. View All
RiversideRocks (1)

@programmeruser Some users are not as smart and will just leave stuff in non .env files. The best idea is just to remove .git.