My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Faster GIT flow

Emil Moe's photo
Emil Moe
·Jun 26, 2020·

1 min read

My setup is like this on this project:

2 git branches

  • dev
  • master

dev is for all staging, and is automatically deployed to our staging servers for validation

master is for production and is automatically deployed to our production environment

However the flow gets stuck when only a part of dev has been validated for production and I'm looking for a solution to fix this. I don't like the idea of creating many new branches as that would break the deployment to the staging environment. I don't know if tags could solve this or there are any other clever solution using git?