Skip to content

Commit

Permalink
Merge pull request #5 from magento-l3/ACP2E-85
Browse files Browse the repository at this point in the history
ACP2E-241: Tracked .gitignore file is overriden by composer
  • Loading branch information
viktym authored Oct 5, 2021
2 parents b9f929f + e33f223 commit abd3eb5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/Deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,23 @@ for this you can use `magento-deploy-ignore` which works either global or on mod

may not work for symlink, when file/directory is content of a symlinked directory

### How to prevent your custom .gitignore file to be overridden

In case you want to keep your custom .gitignore file then you need to ignore it in the _magento-deploy-ignore_ section.

```json
{
...
"extra": {
"magento-deploy-ignore": {
"*": [
"/.gitignore"
]
}
}
...
}
```

### None Deploy
If you only want to place packages into the vendor directory with no linking/copying into Magento's folder structure use this deploy strategy.
Expand Down

0 comments on commit abd3eb5

Please sign in to comment.