DEV Community

Discussion on: Don’t make your .git folder publicly accessible, hacker can steal your source code

Collapse
 
abdelrahmanahmed profile image
Wahdan

Pushing .git folder from the beginning is totally wrong, there should be a build process when you deploy your app

Collapse
 
nuculabs_dev profile image
Nucu Labs

Well, it depends, if you're using an app written in Python you need to deploy the source code.

Collapse
 
sergix profile image
Peyton McGinnis

In the case of Python you should containerize and deploy your app.