Question

App component keep .git directory

Hello,

I’ve currently setup an app with automatic deployment enabled from master. The deployment works excellent, however if I list the current files in the components directory I’m missing the .git directory.

Is there a way to make the automatic deployment also copy over .git directory? This so that my git-based CMS can have the correct commit history and remote set ready for committing and pushing?

(I’m trying to figure out a way to make Statamic’s automatic git integration work)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’ve worked around this problem by using ploi.io. Ploi.io has super easy configuration options for hosting statamic online.