cd my-new-shopware-project && rm -rf .git # because I don't want to keep the whole shopware git history, branches, and so on
git init
git add custom
git status
On branch main
No commits yet
Changes to be committed:
(use "git rm --cached ..." to unstage)
new file: custom/static-plugins/.gitkeep
The issue here is that the dir `custom/plugins` and his `.gitkeep` are ignored. As consequence other tasks e.g. installing new plugins from the admin panel will fail.
This fix solved the following issue: as a developer, I start new shopware based projects with the following behavior:
How to reproduce:
git clone git@github.com:shopware/production.git my-new-shopware-project
cd my-new-shopware-project && rm -rf .git
# because I don't want to keep the whole shopware git history, branches, and so ongit init
git add custom
git status
No commits yet
Changes to be committed: (use "git rm --cached..." to unstage)
new file: custom/static-plugins/.gitkeep