We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9f929f + e33f223 commit abd3eb5Copy full SHA for abd3eb5
doc/Deploy.md
@@ -82,6 +82,23 @@ for this you can use `magento-deploy-ignore` which works either global or on mod
82
83
may not work for symlink, when file/directory is content of a symlinked directory
84
85
+### How to prevent your custom .gitignore file to be overridden
86
+
87
+In case you want to keep your custom .gitignore file then you need to ignore it in the _magento-deploy-ignore_ section.
88
89
+```json
90
+{
91
+ ...
92
+ "extra": {
93
+ "magento-deploy-ignore": {
94
+ "*": [
95
+ "/.gitignore"
96
+ ]
97
+ }
98
99
100
+}
101
+```
102
103
### None Deploy
104
If you only want to place packages into the vendor directory with no linking/copying into Magento's folder structure use this deploy strategy.
0 commit comments