E
E
Emix2019-04-12 23:24:57
git
Emix, 2019-04-12 23:24:57

How to deploy files that are ignored by git?

For example, there is a project, a website in PHP, and it has a huge images folder and you don’t want to push it into git, but it’s important for every developer to transfer it so that the site is displayed correctly. What are the common practices?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2019-04-13
Reytarovsky @Antonchik

Such folders usually live separately on the server and are linked to the project during deployment. You can also use separate servers or clouds ala Amazon s3

A
Andrey, 2019-04-13
@VladimirAndreev

Put a .gitignore file with the value * in the folder and do git add images/.gitignore

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question