home

Versioning

Obviously we use Git to keep tracking of version history for the project. And if you read that you are surely on Github, the software we use on top of that.

Branching model

We set some rules for the way we use branching model and naming.

The master branch is the principal one, it’s directly linked to the server on production, so we never work directly on it, except for hot fixes.

The most important branch is staging, is the main development branch. We always branch from it to develop a new feature.

branching model image

Branches naming conventions

Master

Production version

Staging

Staging version

feature/

Any new feature should be develop on the branch (from staging) and have a name like feature/add-login-button for example. This will help to keep all ongoing feature in the feature folder (if you are using a git client)

fix/

If you need to work on a bug, you can name your branch fix/wrong-redirection-on-newsletter-form for example.

docs/

Use docs convention name for any change, add or deletion if it’s related to a readme file, code documentation or any documentation related change.

imp/

If you need to code on any kind of improvement, like testing, refactoring, optimise performances,… You can use the imp convention (for improvement). Example: imp/add-testing-for-service-creation

Development process

If you need to develop anything, be sure to always branch from staging (Don’t forget to be up-to-date pulling the last version).

Commit message

Be sure to always be clear in your commit messages:

DO:

DON’T: