Skip to content

Why does the mecha-cms/composer plugin delete git files? #291

Discussion options

You must be logged in to vote

It was defined in the .gitattributes file to exclude those files when downloading GitHub files using git archive command. Composer uses that command internally to store the GitHub files in its server, I guess.

Mecha does not use the README.md file as its project documentation (to be displayed in the control panel). But instead, it uses about.page file, so it can have custom fields.

If you want to develop an extension 1 or a layout 2 that includes README.md file by default, just remove this line from the .gitattributes file in your extension/layout repository:

README.md export-ignore

Of course, in the source code there is a list of file and folder names to remove (including README.md file)…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JacopoWolf
Comment options

Answer selected by JacopoWolf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants