# Best practices to update Trellis

**URL:** https://discourse.roots.io/t/best-practices-to-update-trellis/5386
**Category:** trellis
**Created:** 2015-12-01T16:24:39Z
**Posts:** 46
**Showing post:** 43 of 46

## Post 43 by @caco26i — 2018-03-25T21:41:57Z

Check this :wink:

> [@Create a Roots Project Working with Git Subtrees](https://discourse.roots.io/t/create-a-roots-project-working-with-git-subtrees/11957):
>
> [Repo example](https://github.com/caco26i/trellis) I created this bash script that initialize a Roots based project, using Trellis, Bedrock and Sage. Working with Git Subtrees Run on the project folder: [https://gist.github.com/caco26i/f902bedcf886e5d907f016478db3495f](https://gist.github.com/caco26i/f902bedcf886e5d907f016478db3495f) #change de URL of our initialized repo repo=\<repo\_url.git\> #tool from roots.io tools=(trellis bedrock sage) #folder structure for the tools subtrees=(trellis site site/web/app/themes/sage) #init repo git init git remote add origin ${repo} touch .gitignore git …

---

_[View the full topic](https://discourse.roots.io/t/best-practices-to-update-trellis/5386)._
