Hello!
I’m having a blast experimenting with Trellis. Wish I’d included it in my workflow earlier.
The setup instructions for Trellis obliterate the Git repository history for both Trellis and Bedrock:
Initially, I versioned the entire example.com
folder but it seems versioning site
and trellis
separately might be better.
Is there a recommended way to use Git to version the newly created project folder (example.com
)?
1 Like
For myself I use Trellis as ordinary git repository. The site folders are above, outside the trellis folder as separate repositories. - Changes in Trellis repository on GitHub can then be just pulled in.
2 Likes
Thank you, @starsis . That will be worth trying for sure!
I have found this thread useful for this discussion as well:
Hey.
Is it possible to keep both Trellis and Bedrock in the project repo? The purpose would to keep the vagrant file and deployment settings in the case that you return to the project 2-3 years later and be able to spin up and fix whatever that needs to be fixed. I still have some projects from the “good old” Capistrano deployment times, which is not that long ago at all. My point is that this project progresses quite much during a year, and it would be nice to know that stuff will be compatibl…
1 Like