gitopencartopencart2.xopencart2.3

Why does the opencart .gitignore file include the modification folder?


opencart 2.2.0.0 and 2.3.0.2

.gitignore

...  
# Modification Files
/upload/system/storage/modification/*
!/upload/system/storage/modification/index.html
...  

I can understand other rules. cache: can be regenerated anytime. vendor: can be downloaded by composer.

But if we install some extension, which is located inside system/storage/modification, as part of the project.

We did not commit modification files to git. Later, we have a project needs to use this version.

We clone the project, we fetch, we pull, and find out that something we need are missing. And it seems that we don't have other way to get the modification files.

How do we do?


Solution

  • someone gave me an answer, it seems more reasonable. Modification files is like cache, can be regenerated if we go to backend > extend.