# Organizing multiple projects and branching

**URL:** <https://forum.serverless.com/t/organizing-multiple-projects-and-branching/3285>\
**Category:** Serverless Architectures\
**Tags:** aws\
**Created:** [December 9, 2017, 3:35am UTC](https://forum.serverless.com/t/organizing-multiple-projects-and-branching/3285 "2017-12-09T03:35:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bill](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bill/32/1072_2.png) [@bill](https://forum.serverless.com/u/bill)\
**Post date:** [December 9, 2017, 9:14am UTC](https://forum.serverless.com/t/organizing-multiple-projects-and-branching/3285/2 "2017-12-09T09:14:21Z")

</div>

I have discussed this with @buggy before with this ticket

> [@Manage variables for deploying a serverless project with different environments](http://forum.serverless.com/t/manage-variables-for-deploying-a-serverless-project-with-different-environments/2890):
>
> Sharing my thinking about “Manage variables for deploying a serverless project with different environments” With same codes, I need to define the variables for different environments: dev, staging, production. In [serverelsss examples](https://github.com/serverless/examples), most values are hardcoded or set in provider or custom session in serverless.yml So what’s best practice to manage variables for deploying a serverless project with different environments? Here is my way to deal with it, manage environments with different config…

you can take a reference.

way #1, manage the custom variables for all environments in one place (@buggy’s way)

way #2, manage custom variable files for each environment (my way.)

You needn’t manage the branches for different environments, you can put them in master branch directly.

---

_[View the full topic](https://forum.serverless.com/t/organizing-multiple-projects-and-branching/3285)._
