DEV Community

Discussion on: How my company follows Agile + DevOps in daily work

Collapse
 
curiousdev profile image
CuriousDev

Are you using any branch for the productive code? It looks like this is not the case, so is it correct, that a certain commit of your main branch, which is for development, contains the productive code?

Collapse
 
thyphamdev profile image
Thy Pham

Hi there!
We use the main branch for both the development and production environment. So new commits to this branch are always automatically deployed to the development env. But we only deploy specific commits to production manually.
So yea, the feature branches (branched off from the main branch) always include the latest productive code.