# How to keep trellis updated when using trellis-cli?

**URL:** https://discourse.roots.io/t/how-to-keep-trellis-updated-when-using-trellis-cli/26068
**Category:** trellis
**Tags:** trellis-cli, trellis
**Created:** 2023-10-04T20:56:28Z
**Posts:** 5
**Showing post:** 4 of 5

## Post 4 by @adleviton — 2023-10-12T03:12:19Z

I also use separate branches for Trellis and Bedrock with my own customizations, which I use as boilerplates for starting a new project. Down the road for any of my projects, if I need to update and get the latest version for either Trellis or Bedrock, I either commit or stash my edits, and `git pull --rebase` from either Trellis master or my custom branch so my edits are always on top. [I was having a similar discussion recently](https://discourse.roots.io/t/building-a-starter-site-template/26046).

---

_[View the full topic](https://discourse.roots.io/t/how-to-keep-trellis-updated-when-using-trellis-cli/26068)._
