DEV Community

loading...

Discussion on: Git Explained: Proper Team Etiquette

Collapse
gerardolima profile image
Gerardo Lima

using "/" as part of the branch names may look cool, but will definitely causes trouble on CI / CD pipelines.

Collapse
rinkattendant6 profile image
Vincent

I suppose that depends on your CI/CD tool. At my work we use GitLab CI and it works well, in fact one of the teams has the tool configured to run certain jobs based on whether the branch is a feature branch or pre-release.

Collapse
milu_franz profile image
Milu Author

Same here Vincent, my team uses GitLab CI so I haven't experienced any issues using / in our branch name conventions.

However, that is a good thing to note as other teams have different implementations. I added a note for it Gerardo. Thanks for the suggestion!

Thread Thread
gerardolima profile image
Gerardo Lima

When the application is containerised, having this convention will make it not feasible, for example, to have images tagged by its code branch. It's not a showstopper, but the kind of small nuisance that takes time.