This repository uses two main branches: develop
and master
.
The first one is the one you should use to work on a new feature, even more, it's the one that we use on a daily base to commit and discuss our work.
The second one is the one we cut from develop
every time that we reach a milestone. You should use master
as the base branch of pre-release or production bug fixes.
Whenever you begin work on a new feature or bugfix, it's important that you create a new branch from develop
or master
; particularly, you should create a new branch from master
only to fix issues identified in production or in the pre-production environment.
Not only is it proper git workflow, but it also keeps your changes organized and separated from the master branch so that you can easily submit and manage multiple pull requests for every task you complete.
To create a new branch and start working on it: